One big change to note here is the routing. With the addition of the admin panel, I added another layer of nesting to our routes.
There's one top level container, Root, and then the admin and main app both have their own containers, AppRoot and AdminRoot.
I also refactored the logic for determining which route is active. This has some implications for fetching async data on the server that I could better explain on a call if the time ever comes.
One big change to note here is the routing. With the addition of the admin panel, I added another layer of nesting to our routes.
There's one top level container,
Root
, and then the admin and main app both have their own containers,AppRoot
andAdminRoot
.I also refactored the logic for determining which route is active. This has some implications for fetching async data on the server that I could better explain on a call if the time ever comes.