Muthaias / card-creator

A card creator for swipeforfuture.com
MIT License
1 stars 1 forks source link

Improve routing #4

Closed Muthaias closed 4 years ago

Muthaias commented 4 years ago

Improve routing in order simplify the implementation of other editor views.

On could for example use react router or something similar. The important thing is that the implementation should use the main path query to determine what should be viewed or edited. All optional edit panes/panel should continue using the search params.

Route: [https://]domain.com/`app_path/`?etc Panels: [https://]domain.com/app_path/`?panel=panel_id Persistent modals: [https://]domainc.om/app_path/?modal=modal_id`