evscott/Rambl

Use a history package for navigation to different routes

Closed this issue · 1 comments

Specifically, use this package: https://www.npmjs.com/package/history

This would clean up code for routing in the calendar.

After attempting to use the history package, it works for referencing and changing the URL to a new URL. However, it does not call the appropriate functions to refresh the page, so changing a search term in the url (say, view=day to view=week) will only change the URL and not the content (no refresh happens). We need to be a bit smarter if we want to do this properly.

This is going in the backlog for now.