Closed queryluke closed 2 years ago
Instead of toggling the component type in state, all related components should be in a single sideNav directory and the component should toggle its own display. Keeps all the logic in a single place allowing for more granular expections.
sideNav
Instead of toggling the component type in state, all related components should be in a single
sideNav
directory and the component should toggle its own display. Keeps all the logic in a single place allowing for more granular expections.