Replies: 2 comments 1 reply
-
In other words, in custom hook, is there any difference between |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure what you're asking here. Are you asking specifically about how and why React-Redux has to write the logic this way, or whether you should call |
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
-
Hi, I had a question about
useIsomorphicLayoutEffect
inuseSelector
. Is there any difference to useuseLayoutEffect
instead ofuseEffect
?I found the comment which said:
I know the
useLayoutEffect
extends the render phase of a component. But if used just in a custom hook likeuseSelector
. Must we needuseLayoutEffect
?Beta Was this translation helpful? Give feedback.
All reactions