| 1 |
Source: node-react-lifecycles-compat |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: Roland Mas <[email protected]> |
| 6 |
Testsuite: autopkgtest-pkg-nodejs |
| 7 |
Build-Depends: |
| 8 |
debhelper-compat (= 13) |
| 9 |
, dh-sequence-nodejs |
| 10 |
Standards-Version: 4.6.0 |
| 11 |
Homepage: https://github.com/reactjs/react-lifecycles-compat#readme |
| 12 |
Vcs-Git: https://salsa.debian.org/js-team/node-react-lifecycles-compat.git |
| 13 |
Vcs-Browser: https://salsa.debian.org/js-team/node-react-lifecycles-compat |
| 14 |
Rules-Requires-Root: no |
| 15 |
|
| 16 |
Package: node-react-lifecycles-compat |
| 17 |
Architecture: all |
| 18 |
Depends: |
| 19 |
${misc:Depends} |
| 20 |
, |
| 21 |
Description: Backwards compatibility polyfill for React class components |
| 22 |
React version 17 will deprecate several of the class component API |
| 23 |
lifecycles: componentWillMount, componentWillReceiveProps, and |
| 24 |
componentWillUpdate. A couple of new lifecycles are also being added |
| 25 |
to better support async rendering mode. |
| 26 |
. |
| 27 |
Typically, this type of change would require third party libraries to |
| 28 |
release a new major version in order to adhere to semver. However, |
| 29 |
the react-lifecycles-compat polyfill offers a way to use the new |
| 30 |
lifecycles with older versions of React as well (0.14.9+) so no |
| 31 |
breaking release is required. This enables shared libraries to |
| 32 |
support both older and newer versions of React simultaneously. |
| 33 |
. |
| 34 |
Node.js is an event-based server-side JavaScript engine. |