Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/preactjs/legacy-compat
React 15 compatibility layer for Preact
https://github.com/preactjs/legacy-compat
preact
Last synced: 3 months ago
JSON representation
React 15 compatibility layer for Preact
- Host: GitHub
- URL: https://github.com/preactjs/legacy-compat
- Owner: preactjs
- License: mit
- Created: 2020-09-04T20:36:58.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2023-02-09T18:13:15.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T00:59:13.925Z (9 months ago)
- Topics: preact
- Language: JavaScript
- Homepage:
- Size: 1.71 MB
- Stars: 16
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Extended compatibility layer for Preact, supporting deprecated and removed APIs from React 15 and prior.
This module provides a bridging solution for older codebases. For new projects, please use [preact/compat].
### Extended Compatibility Features:
- `createClass()` - including mixins, getInitialState, etc
- string refs
- Built-in PropTypes (`React.PropTypes`)
- [Immutable.js] support
- `renderSubtreeIntoContainer()`[preact/compat]: https://preactjs.com/guide/v10/switching-to-preact
[immutable.js]: https://immutable-js.github.io/immutable-js/