ReactTraining / react-history

Manage session history with React
266 stars 23 forks source link

Migrate codebase to React 16-compatible lifecycles #30

Open Rendez opened 6 years ago

Rendez commented 6 years ago
  1. Uses Lifecycles from 16.3 to guarantee future compatibility.
  2. History objects are only created if there's an existing DOM in the runtime: this gives implementors the chance to skip initializing history on runtimes without DOM polyfilling/support, e.g.: a running instance Node.js without js-dom.

Depends on #28

gitgrimbo commented 6 years ago

Hi, will this be merged?