Commit graph

6 commits

Author SHA1 Message Date
24f7cffa82 Add storage change propagation for same-window States
The browser's default storage event only triggers when a change happens
within another window, meaning that different StorageStates sharing the
same storage object would not be informed of each other's updates.
2023-09-20 12:53:40 +02:00
2c2adba2b6 Fix smaller problems in storage state 2023-09-20 11:24:02 +02:00
8c01bd83ca Move ObjectStorage into state.js as MapStorage 2023-09-20 11:23:06 +02:00
8d9dc8ae7f Add some helpful comments to state.js 2023-09-19 16:58:43 +02:00
2e540dbc6f Add StorageState class 2023-09-19 15:38:23 +02:00
287aa98955 Add State library and deprecate speaker & listener 2023-09-18 14:58:40 +02:00