Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Release Version 0.11.0 BREAKING RELEASE!

Pre-release
Pre-release
Compare
Choose a tag to compare
@cellog cellog released this 03 May 02:49
· 70 commits to master since this release

This release version breaks compatibility with previous releases. To use ion-router, you need to use the store enhancer instead of middleware.

import { createStore } from 'redux'
import { connect, combineReducers } from 'react-redux'
import makeRouter, { makeRouterStoreEnhancer, routerReducer } from 'ion-router'

import todoApp from './reducers'
import App from './components/App'

// set up the router and create the store
const routerEnhancer = makeRouterStoreEnhancer()
const store = createStore(combineReducers({
  // ... your reducers here
  routing: routerReducer
}), undefined, routerEnhancer)
makeRouter(connect, store)

This release removes makePath, onServer, routeMatches (only makePath was documented)

This release also fixes #14