skalnik / aqi-wtf

😷 WTF is the AQI near me right now?!
https://aqi.wtf
MIT License
44 stars 12 forks source link

Maybe store the sensor list in LocalStorage. #25

Closed obra closed 3 years ago

obra commented 3 years ago

This is a first pass hack to store the processed sensor list in local storage. Do not consider merging as is.

It does not have sufficient error handling It does not expire the sensor list ever The app will likely totally break for end users if bad data is stored in sensors.

But maybe it's a useful starting point for someone who really knows javascript.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/skalnik/aqi-wtf/p4sj7yfld
✅ Preview: https://aqi-wtf-git-fork-obra-horrible-hack-to-store-sensor-list.skalnik.vercel.app

obra commented 3 years ago

Closed in favor of #41