Closed omarestrella closed 5 months ago
A couple things coming with this:
onClick
The idea is to keep anything routing related for an application inside of the Routing module and reach in to grab your routes and a couple helpers.
This opens up a chance to explore a "Pages" concept to encapsulate related behaviors (views, side effects, decoders, etc)
Looks good, but I think the package.json and package-lock.json changes are unnecessary?
A couple things coming with this:
onClick
handler passing in case you need to trigger a side effectThe idea is to keep anything routing related for an application inside of the Routing module and reach in to grab your routes and a couple helpers.
This opens up a chance to explore a "Pages" concept to encapsulate related behaviors (views, side effects, decoders, etc)