react-loadable
react-loadable copied to clipboard
componentWillMount removed
removed componentWillMount and moved this._loadModule(); into componentDidMount.
squashes the warning as componentWillMount was marked as UNSAFE_componentWillMount().
https://github.com/jamiebuilds/react-loadable/pull/220
@alex-zhang alternative?
@alex-zhang alternative?
https://github.com/jamiebuilds/react-loadable/pull/220#issuecomment-582173175
Any plans to merge this?
Any plan to merge this?
Can this be merged please?
componentDidMount will not trigger during SSR.
For anyone interested, here's my solution to get rid of the warning (React 16 + 17) and still get this working (client+SSR).
https://github.com/jamiebuilds/react-loadable/pull/213#issuecomment-778246548
Can this be merged please?