Explicitly sets the theme.
Saves the theme key as selectedThemeKey
using localStorage
and sets the state to the theme object.
Every available theme key.
Provides application state as a composition of various stateful hooks.
Gets the selected theme key from local storage and returns the selected theme object.
Sends a message to the service worker indicating that the window is now focused.
If the user's preferred theme does not match the prerendered default theme, the app's HTML will need to be reset instead of hydrating the existing HTML.
A hook which returns the current theme and a method to set the theme by key.
A hook which returns an object describing the current and potentially new version state and a method to update the service worker, if applicable.
Polls version.json
every 15 minutes.
Generated using TypeDoc
A composition of various hooks to manage shared application state.