DEV Community

Discussion on: A quick explanation on useEffect

emma profile image
Emma Goto 🍙 • Edited on

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?

bdbch profile image
Dominik Biedebach Author

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