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
I was thinking about it. It seems that the only way would be to implement UNSAFE_componentWillMount since that's afaik the only lifecycle method that's being called during SSR. titled now uses only componentDidMount, DidUpdate and WillIUnmount.
There is a lengthy discussion (including React team) about this here. It seems the solution is to use UCWM on the server until reactjs/rfcs#8 lands.
I'm looking to use this on a couple of projects that do server rendering. Those projects do something like:
Is there an existing mechanism for this?
The text was updated successfully, but these errors were encountered: