A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
The magic of ReactRouter is mostly powered by the history module. To make our own AragonRouter, I implemented a minimal version of AragonHistory. Then, in the AragonRouter component, I listen for updates to path and pass them along to AragonHistory.
I've demonstrated how this can be used by implementing some basic routing in Allocations. Note that the allocations app itself never needs to bother with usePath.
Closing for now; this was a good proof-of-concept but I don't want to distract us with this conversation right now. I've implemented the Budget Detail view with raw usePath; see it at #1758
The magic of ReactRouter is mostly powered by the
history
module. To make our own AragonRouter, I implemented a minimal version ofAragonHistory
. Then, in the AragonRouter component, I listen for updates topath
and pass them along toAragonHistory
.I've demonstrated how this can be used by implementing some basic routing in Allocations. Note that the allocations app itself never needs to bother with
usePath
.