You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dai-shi, perhaps we can work together to update the will-this-react-global-state-work-in-concurrent-rendering project to match the latest expectations?
I'm thinking about updating it.
A word of caution, though: test suites like will-this-react-global-state-work-in-concurrent-rendering can be really useful for detecting the presence of certain tearing bugs — but it can't prove the absence of all tearing bugs.
Yes, the goal is to detect some known behaviors, not to prove everything.
Test spec
With useTransition
Level 1
No tearing finally on update
No tearing finally on mount
Level 2
No tearing temporarily on update
No tearing temporarily on mount
Level 3
Can interrupt render (time slicing)
Can branch state (wip state)
With useDeferredValue
Level 1
No tearing finally on update
No tearing finally on mount
Level 2
No tearing temporarily on update
No tearing temporarily on mount
Level 3
Can interrupt render (time slicing) HOW TO TEST THIS?
has unanswered questionsThis thread has new questions that haven't been answered by the React team yet
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From: reduxjs/react-redux#1808 (comment)
I'm thinking about updating it.
Yes, the goal is to detect some known behaviors, not to prove everything.
Test spec
Tool
will-this-react-global-state-work-in-concurrent-rendering
Beta Was this translation helpful? Give feedback.
All reactions