Skip to content

Commit b74067b

Browse files
authored
Update readme.md
1 parent 81dca5c commit b74067b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@
1616
- States can be reused.
1717
- Nest machines inside one another.
1818
- Use native JavaScript features such as Promise, AbortSignal, and EventTarget.
19-
- Conform various stateful things such as offline status, promises, fetch, IntersectionObserver, ResizeObserver. Manage these things in a consistent way with a consistent interface.
19+
- Conform various stateful things such as offline status, promises, fetch, IntersectionObserver, ResizeObserver, window.location. Manage these things in a consistent way with a consistent interface.
20+
21+
### Problems
22+
23+
+ Making sure my code is 100% robust and doesn't fall into inconsistent states is hard.
24+
- It's easy to forget about error handling.
25+
- Built-in browser features (such as InteractionObserver) are powerful but a pain to manage correctly.
26+
- Managing various flavors of state is hard: the current URL, local storage, focused element, fetch response, caches, offline/online.
2027

2128
## Install
2229

0 commit comments

Comments
 (0)