Prevent React setState on unmounted component
If you are working with React, most probably you have already seen the below issues a lot.
Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This...
belev.hashnode.dev7 min read