套件:node-react-lifecycles-compat(3.0.4+~cs3.0.1-2)
node-react-lifecycles-compat 的相關連結
Debian 的資源:
下載原始碼套件 node-react-lifecycles-compat:
- [node-react-lifecycles-compat_3.0.4+~cs3.0.1-2.dsc]
- [node-react-lifecycles-compat_3.0.4+~cs3.0.1.orig-types.tar.gz]
- [node-react-lifecycles-compat_3.0.4+~cs3.0.1.orig.tar.gz]
- [node-react-lifecycles-compat_3.0.4+~cs3.0.1-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Backwards compatibility polyfill for React class components
React version 17 will deprecate several of the class component API lifecycles: componentWillMount, componentWillReceiveProps, and componentWillUpdate. A couple of new lifecycles are also being added to better support async rendering mode.
Typically, this type of change would require third party libraries to release a new major version in order to adhere to semver. However, the react-lifecycles-compat polyfill offers a way to use the new lifecycles with older versions of React as well (0.14.9+) so no breaking release is required. This enables shared libraries to support both older and newer versions of React simultaneously.
Node.js is an event-based server-side JavaScript engine.