Skip to content

fix: wrap Date.now() in useMemo (react-compiler lint) - #1947

Merged
Flotapponnier merged 5 commits into
mainfrom
ship/dev-to-main-aug13
Aug 13, 2026
Merged

fix: wrap Date.now() in useMemo (react-compiler lint)#1947
Flotapponnier merged 5 commits into
mainfrom
ship/dev-to-main-aug13

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Date.now() in component render body violates react-compiler purity rule. Wrapped in useMemo in exec-bench-table.tsx and trading-apps-leaderboard.tsx.

@Flotapponnier
Flotapponnier merged commit 30682aa into main Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant