React patterns: Run effect after every render
4 September 2022 (Updated 4 September 2022)
If you don’t pass a dependencies array as the second argument to useEffect
, the effect will run after every render.
Tagged:
React patterns
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment