mirror of
https://github.com/tiennm99/vngeoguessr.git
synced 2026-10-14 20:17:55 +00:00
docs: record fresh session ids, the daily pick rules and the new components
This commit is contained in:
1 parent
4d25a82448
commit
b8b4ffbbcb
3 files changed
+24
-9
No files matched your search
+2
-1
@@ -51,7 +51,8 @@ are the shape the code has and new code should keep.
|
||||
board is written, and the fan-out after it settles per level rather than
|
||||
all-or-nothing, because nothing after the claim can be retried.
|
||||
- **One module per browser-storage concern**, all reading through
|
||||
`src/lib/storage.js` (never throws, notifies watchers) and rendered through
|
||||
`src/lib/storage.js` (never throws, keeps a write the browser refuses in
|
||||
memory for the visit, notifies watchers) and rendered through
|
||||
`useStoredValue` in `src/lib/use-stored-value.js`. No component seeds state
|
||||
from storage in an effect; the `react-hooks/set-state-in-effect` rule is an
|
||||
error.
|
||||
|
||||
Reference in new issue
Block a user