Apply sideEffect at DidMount on the client side (#5068)
Fixes #5038 The problem with `constructor` is that it doesn't have `context` yet when being called. It's also considered unsafe to add a side-effect on constructor except when server-rendering
Showing
Please
register
or
sign in
to comment