Pagelayout: Sidebar collapsed in state
Keep the state of "Sidebar" collapsed/open in Redux state. This way, when the user navigates between pages the sidebar will be either shown or hidden depending on user last action.
Extend user
reducer and add actions to new actions/layout.ts
.
state.user.sidebarOpen