- Migration away from context to a global Zustand store for improved performance with selectors
- Less reliance on useEffect and cleanup functions. Events are registered at the module level
- Adds reactivity to system preference, changing preference in the OS will trigger a theme change in the browser if the user set their preference to "system"
- Uses Zustand persist middleware for effortless localStorage synchronisation with state
Usage: