Is that pure?
#2769
Replies: 1 comment 1 reply
-
It's pure or idempotent. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
jotai/src/react/useAtomValue.ts
Lines 136 to 140 in 6f7551c
Is that code pure?
A React doc says "each component should only “think for itself”, and not attempt to coordinate with or depend upon others during rendering.".
That code may be on "during rendering".
Beta Was this translation helpful? Give feedback.
All reactions