v5.0.0-beta.2
Pre-release
Pre-release
You can track v5 beta progress in #751
You can install the v5 beta using the next
tag: npm add history@next
Improvements from v5.0.0-beta.1:
- Individual bundles for each type of history:
history/browser
,history/hash
, andhistory/memory
- Added singletons for browser and hash history
- Fixed some accidentally munged variable names in the production build
The singleton instances for browser and hash history are very convenient:
import history from 'history/browser';
// And away you go!
Unless we find any major bugs in this release, it will probably be the last beta before v5 final.
A migration guide will be available soon. For now, you can either browse around the docs on the dev
branch or the tests.
Enjoy!