The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(frontend): rephrase best practices list for clarity
Steven Enamakel12a469565676
diff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.mdindex b2f8e47ab5..99ecc4dc62 100644--- a/gitbooks/developing/architecture/frontend.md+++ b/gitbooks/developing/architecture/frontend.md@@ -198,11 +198,11 @@ export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;### Best practices-1. **Always use typed hooks**: `useAppDispatch` and `useAppSelector`.-2. **Use selectors for derived state**: see `store/socketSelectors.ts`, `store/connectivitySelectors.ts`, `store/userErrorsSelectors.ts`.-3. **Whitelist persistence per slice**: never persist transient/loading state; add a per-slice `persistReducer` in `store/index.ts`.-4. **Prefer Redux over ad-hoc `localStorage`**: plain localStorage is reserved for the pre-login slices noted above.-5. In dev / E2E builds the store is exposed as `window.__OPENHUMAN_STORE__` so WDIO specs can assert backing state; production bundles do not expose it.+1. Always use the typed hooks, `useAppDispatch` and `useAppSelector`.+2. Use selectors for derived state: see `store/socketSelectors.ts`, `store/connectivitySelectors.ts`, `store/userErrorsSelectors.ts`.+3. Whitelist persistence per slice. Never persist transient or loading state; add a per-slice `persistReducer` in `store/index.ts`.+4. Prefer Redux over ad hoc `localStorage`. Plain localStorage is reserved for the pre-login slices noted above.+5. In dev and E2E builds the store is exposed as `window.__OPENHUMAN_STORE__` so WDIO specs can assert backing state; production bundles do not expose it.---