bpetetot / conference-hall-beta

📣 An open SaaS platform to manage call for papers
https://conference-hall.io
MIT License
133 stars 46 forks source link

redux-little-router driver #136

Closed bpetetot closed 6 years ago

bpetetot commented 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}`)
fabienjuif commented 6 years ago

Feel free to create the driver into k-ramel. We have a simular issue for Sparklane right now :)

bpetetot commented 6 years ago

https://github.com/alakarteio/k-ramel/pull/99