CityScope / CS_cityscopeJS

Create, design, and publish @CityScope projects on the web
https://cityscope.media.mit.edu/CS_cityscopeJS/
GNU General Public License v3.0
20 stars 16 forks source link

state update on unmounted comp in cityIO POST #25

Closed RELNO closed 4 years ago

RELNO commented 4 years ago

In certain cases, edit mode POST event returns an error:

index.js:1 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in CityIO (created by ConnectFunction)
    in ConnectFunction (at App.js:17)
    in Provider (at App.js:15)
    in App (at src/index.js:8)
RELNO commented 4 years ago

closed via https://stackoverflow.com/questions/53949393/cant-perform-a-react-state-update-on-an-unmounted-component. Reopen if repeat occurrences.