In React Router Framework Mode, what’s the recommended way to manage UI state like:
- Theme (light/dark mode)
- Sidebar toggle
- Drawer open/close
Especially when this state needs to be accessed and updated from multiple components across different routes?
I was confused while reading the documentation about which one I should use.