docs: add frontend development guidelines
This commit is contained in:
1 parent
f7601d554e
commit
faaa33717f
8 files changed
+213
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# State Management
|
||||
|
||||
Use component `useState` for server state, selection, staged overrides, layer visibility and UI filters. `src/lib/api.ts` is the sole browser HTTP boundary. Keep staged overrides separate from persisted `WorkbenchState.overrides`; save them before compile.
|
||||
Reference in new issue
Block a user