Closed raveclassic closed 2 years ago
CI is running/has finished running commands for commit 6ae02a490685a6e3a299b4dad24bc6b73574ebe3. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
Sent with 💌 from NxCloud.
This PR fixed race condition in
usePropertyFromProp
caused byuseLayoutEffect
which was called beforeuseEffect
inuseProperty
. Essentially,useLayoutEffect
was called between emission of new value and subscription within a conditionally rendered child. To fix this,useLayoutEffect
has been replaced withuseEffect
. ~To fix this,useEffect
inuseProperty
has been replaced with synchronous logic based onuseRef
s~