You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
With server-side rendering, I'm getting this warning a lot:
Warning: forceUpdate(...): Can only update a mounting component. This usually means you called forceUpdate() outside componentWillMount() on the server. This is a no-op. Please check the code for the LoginPage component.
I think the issue is that observer starts listening for changes on componentWillMount and stops on componentWillUnmount. However, react-dom/server never calls componentWillUnmount as the component is never mounted in the first place.
I'm not sure how to solve this to be honest, but the way it works right now probably has a lot of memory leaks as well.
With server-side rendering, I'm getting this warning a lot:
I think the issue is that
observerstarts listening for changes oncomponentWillMountand stops oncomponentWillUnmount. However,react-dom/servernever callscomponentWillUnmountas the component is never mounted in the first place.I'm not sure how to solve this to be honest, but the way it works right now probably has a lot of memory leaks as well.