Thank you, Leigh for the article~
I only knew about Avoid setting state on unmounted components way of not setting a state when a component unmounts.
Avoid setting state on unmounted components
Surprising that Axios provides a way to cancel a request, which would be more efficient 😮
No prob, Sung! Thanks for reading. Fetch also provides a way to cancel a request, I made a video about it here if you're interested: youtu.be/JGASDKLZcdw
Thanks Leigh~
I see so many videos on your page, as well. 😮 youtube.com/user/leighhalliday
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.
Thank you, Leigh for the article~
I only knew about
Avoid setting state on unmounted components
way of not setting a state when a component unmounts.Surprising that Axios provides a way to cancel a request, which would be more efficient 😮
No prob, Sung! Thanks for reading. Fetch also provides a way to cancel a request, I made a video about it here if you're interested: youtu.be/JGASDKLZcdw
Thanks Leigh~
I see so many videos on your page, as well. 😮
youtube.com/user/leighhalliday