Skip to content

Reduced package size & wider support

Latest
Compare
Choose a tag to compare
@bencripps bencripps released this 05 Jan 06:14

About

This is the first major release of react-traverse. In it come with some pretty large changes (including a overhaul of the internal dependency structure). Although there are no known breaking changes, the dependency tree has changed (no longer bringing in lodash, babel-polyfill, and other libraries) -- which could break your application if you were transitively relying on those libraries.

It's advised you regress your application after updating, especially if you use the following libs:

  • babel-polyfill
  • babel-runtime
  • bluebird
  • lodash

Changes

  • Drastically reduce package size -- 55k (gzipped) to a about 800 bytes (#9)
  • Add support for Preact (#10)
  • Add support for React 15x, 16x (#8)