@preact/legacy-compat

0.2.0 • Public • Published

@preact/legacy-compat npm

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()

Readme

Keywords

none

Package Sidebar

Install

npm i @preact/legacy-compat

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

55.9 kB

Total Files

9

Last publish

Collaborators

  • rschristian
  • drewigg
  • reznord
  • preactjs
  • developit
  • marvinhagemeister
  • jdecroock
  • sventschui