Urban-Analytics-Technology-Platform / web-app-template

https://urban-analytics-technology-platform.github.io/web-app-template/
2 stars 0 forks source link

State management #8

Open dabreegster opened 1 month ago

dabreegster commented 1 month ago

For apps where the user does a little input, making it easy to encode all state in the URL could be nice.

For apps with lots of input, one app-wide store with state is one approach. Auto-syncing with local storage, and then exposing a simple "file system" on top of local storage, is something I do often. Most modern incarnation is at https://github.com/acteng/inspectorate_tools/tree/main/src/lib/files