Router plugin for kea. Version 3 works with kea 3.0.0
and up.
Install the package:
yarn add kea-router
Add the plugin to the list when resetting the context:
import { routerPlugin } from 'kea-router'
resetContext({
plugins: [routerPlugin]
})
You may add extra options with routerPlugin(options)
, see the source for more :)