© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Mitja Potočin
I think there is a mistake in this article.
“ If count’s value is same, the callback effect function ( first argument of useEffect hook ) is called”
If the valu is the same, the useEffect callback will not be run and vice versa.
Abass Oguntade
Front End Developer | Building stuff for the web | React | Next JS
Thanks for pointing that out! Fixed already.