loading...

re: A quick explanation on useEffect VIEW POST

FULL DISCUSSION
 

Super easy to understand!

For the last example - it looks like startBookSubscription is being called each time the prop is changed (if I'm understanding correctly), maybe it should be renamed?

 

Thats right. I'll update the code with a better example! One second.

code of conduct - report abuse