The part that got me (reminded me of because of this comment) that hooks don't share "states", but it's for sharing "logics".
Another one being useEffect. I still refer back to A Complte Guide to useEffect often. useEffect still has clicked 100% especially on parts with getting new fresh value (using ref).
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.
The part that got me (reminded me of because of this comment) that hooks don't share "states", but it's for sharing "logics".
Another one being
useEffect
. I still refer back to A Complte Guide to useEffect often.useEffect
still has clicked 100% especially on parts with getting new fresh value (usingref
).