Files
bsky-social-app/src/features
Tomek Zawadzki 6860c276dd Stop re-parsing dates in isStatusStillActive
This runs per post, per render while scrolling, and showed up in the scroll
profile as parseISO plus two Date objects. Date.parse returns NaN for an
unparseable value and NaN > n is false, which is the same "not active" answer
the date-fns version gave.

Moved to liveNow/utils.ts alongside the other pure helpers so it can be tested
without pulling in the feature's React and query imports. index.tsx already
re-exports utils, so every existing import site is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 08:25:10 +02:00
..
2026-08-18 10:46:11 -04:00