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?
startBookSubscription
Thats right. I'll update the code with a better example! One second.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.