-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
React-router changed its API for 1.0:
https://github.com/rackt/react-router/blob/832c42946c874fe56ffde0066b1088054311cb98/CHANGES.md
I am trying to get it to work with Morearty, but so far no luck. Any idea what should change to get this to work? I especially have trouble translating what I think is the crux of this whole example to the new API:
var metaBinding = this.getDefaultBinding().meta();
Router.run(Routes, Router.HistoryLocation, (Handler, state) => {
this.Handler = Handler;
metaBinding.set('currentPath', state.path);
});Metadata
Metadata
Assignees
Labels
No labels