()
| 73 | * Use this in components that need the full state (e.g. SettingsView filtering). |
| 74 | */ |
| 75 | export function useFeatureSnapshot(): Record<string, boolean> { |
| 76 | useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); |
| 77 | return getParsedSnapshot(); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Returns whether a feature is enabled. |
no test coverage detected