Skip to content

React 15 compatibility layer for Preact

License

Notifications You must be signed in to change notification settings

preactjs/legacy-compat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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