Skip to content

fix: disable react-compiler for Date.now() in render - #1949

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

fix: disable react-compiler for Date.now() in render#1949
Flotapponnier merged 9 commits into
mainfrom
ship/dev-to-main-aug13

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Date.now() during render triggers react-compiler purity errors. Added eslint-disable comments where the pattern is intentional (stale state detection).

@Flotapponnier
Flotapponnier merged commit 5c61a43 into main Aug 13, 2026
1 check failed
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