react-polyfill-all
TypeScript icon, indicating that this package has built-in type declarations

1.1.9 • Public • Published

react-polyfill-all

Polyfills for React new api

Support

>= react@0.14.9

Usage

import {
  // memo
  memo,
  // ref
  createRef,
  forwardRef,
  // Fragment
  Fragment,
  // PureComponent
  PureComponent,
  // portal
  createPortal,
  // context
  createContext,
  // hooks
  withHooks,
  useRef,
  useState,
  useContext,
  useReducer,
  useEffect,
  useLayoutEffect,
  useMemo,
  useCallback,
  useImperativeHandle
} from 'react-polyfill-all';

Checkout usages below

Package Sidebar

Install

npm i react-polyfill-all

Weekly Downloads

13

Version

1.1.9

License

MIT

Unpacked Size

7.84 kB

Total Files

5

Last publish

Collaborators

  • kingback