Replies: 1 comment
-
|
I think I know because the registration command will return a cleaning function, which is combined with useEffect |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to ask why the commands are written in the place returned in useEffect. Is there any difference between this and writing in useEffect

Beta Was this translation helpful? Give feedback.
All reactions