Whoah, hang on, really? Do you have a source on this or somewhere I can find out more details?
This will completey break a lot of libraries, components, etc that rely on the React lifecycle contracts.. Certainly doesn't feel like a small change! :-/
This will completey break a lot of libraries, components, etc that rely on the React lifecycle contracts.. Certainly doesn't feel like a small change! :-/
- https://github.com/facebook/react/issues/7671
- https://twitter.com/dan_abramov/status/790590733468241920
- https://www.reddit.com/r/reactjs/comments/5fg7iq/why_should_...
- https://daveceddia.com/where-fetch-data-componentwillmount-v...
Also see Lin Clark's "React Fiber" talk, linked upthread. Basically, pieces of work can start and be interrupted, and then be restarted, which will mean that `componentWillMount` can be called several times before the component _actually_ mounts.
You can use componentDidMount for that and its semantics are still the same.