STANDARDS

What applies here

What Preston believes about rodrigopsasaki/react-time-travel — its floor, and what the code shows.

1,036 standardsPreston's own · what this repo adheres to shows under observed
65%library

The repo is a client-side React library that hijacks Date and popular date libraries to provide controlled time for development/testing. It has a core package with a TimeController singleton and a React package with TimeProvider, hooks, and UI components. The stated intent aligns with the code: the callback and UI components are the observability mechanism.

I don't know the full test coverage or how the library behaves under edge cases (e.g., rapid toggling of time, multiple TimeProviders). The rollup config duplication makes build consistency uncertain. The silent error swallowing in hijacker.ts and useTimeControl.ts is a specific gap that could mask failures.

climbed 28 Jul 2026 · assessed 28 Jul 2026
5
a convention is a different kind from a discipline, not a weaker one — nothing here promotes.
3 across 2 categories
strains the code carries — never a block, always worth naming. repeated findings in one category fold together; nothing is hidden, only collapsed.
10 of 10
observations inform review context and never block.