@preact/legacy-compat
v0.2.0
Published
Preact compatibility layer that supports deprecated React APIs'
Downloads
56
Keywords
Readme
@preact/legacy-compat
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()