Closed petersalomonsen closed 7 months ago
Thanks @elliotBraem . I'm not 100% finished with this. I need to create more tests, and documentation before I can merge it. Currently just tested the idea of being able to have the path controlling the props for the widget. As you say we also still want to be able to control which widget to display from the path, and we need a good way to support both behaviours or even combine them.
So I'm still trying to figure out how to introduce this in a good way, without breaking any existing use cases.
For the MVP for DevHub I did this (the commit from April 28th):
In addition, for ensuring this has the proper quality to be merged, I've added the following:
A test that demonstrates this, is implemented in
router.spec.js
:fixes #12