adobe / aem-spa-project-archetype

Maven Archetype for creating new AEM SPA projects
Apache License 2.0
61 stars 32 forks source link

Use router #67 #70

Closed ittaibaratz closed 5 years ago

ittaibaratz commented 5 years ago

This is an implementation of #67.

Instead of using BrowserRouter, it uses a Router with a BrowserHistory object. This allows exposing the History object to the app so it can changes routes programmatically based on state changes.

I've also updated react-scripts as it was failing npm audit.