1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-13 03:35:01 +01:00
Renaud Chaput e960918f87 Upgrade to React 16 (#1178)
* Allow React 16 in peerDeps and use it for dev

* Make tests pass with React 16

Changes are cosmetic:
- React 16 no longer adds a trailing `;` to `style` attributes
- React 16 outputs `0` and not `0px` for sizes in `style`
2017-10-13 15:01:18 -07:00
..
2017-10-13 15:01:18 -07:00
2017-10-13 12:24:29 -07:00
2017-10-13 15:01:18 -07:00
2017-09-11 19:36:46 -07:00

This package contains the React-specific logic for Slate. It's separated further into a series of directories:

  • Components — containing the React components for rendering Slate editors.
  • Constants — containing a few private constants modules.
  • Plugins — containing the React-specific plugins for Slate editors.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!