I think there is a flaw. In your success handler you forgot to check if the React component is still mounted. Trying to set local state on an unmounted component is an error. I recommend reading robinwieruch.de/react-fetching-data
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.
I think there is a flaw. In your success handler you forgot to check if the React component is still mounted. Trying to set local state on an unmounted component is an error. I recommend reading robinwieruch.de/react-fetching-data