React just published a blog post about upcoming api changes due to the planned suspense api. The current lifecycle methods will be deprecated with react v17.
We should decide if we want to follow them or leave the lifecycle methods as is. Note that our rendering process is currently not asynchronous but synchronous so we don't have the same problems as them.
List of API changes recently introduced by react:
React just published a blog post about upcoming api changes due to the planned suspense api. The current lifecycle methods will be deprecated with react v17.
We should decide if we want to follow them or leave the lifecycle methods as is. Note that our rendering process is currently not asynchronous but synchronous so we don't have the same problems as them.
List of API changes recently introduced by react:
getDerivedStateFromProps(Add support for getDerivedStateFromProps #1094)getSnapshotBeforeUpdate(Add getSnapshotBeforeUpdate lifecycle hook #1112)componentDidCatch(Add support for componentDidCatch Component method #819)Fragments(WIP: Add support for Fragments #1080)new Context API: currently no interest in bringing this into core (may change). preact-context is sort of a polyfill that can be used todayUNSAFE_componentWill*won't be added to preact, simply continue usingcomponentWill*hookscreateRef(Add support for createRef() and react-create-ref #1138)createPortal