Closed bpetetot closed 6 years ago
create a driver to have a simpliest use of the router in reaction :
// replace const eventId = getRouterParam('eventId')(store) // by const eventId = router.getParam('eventId') // replace store.dispatch(push(`/organizer/event/${eventId}`)) // by router.push(`/organizer/event/${eventId}`)
Feel free to create the driver into k-ramel. We have a simular issue for Sparklane right now :)
k-ramel
https://github.com/alakarteio/k-ramel/pull/99
create a driver to have a simpliest use of the router in reaction :