Show HN: RemoteStorage – sync localStorage across devices and browsers | Hacker News
When building frontends with Javascript, the native localStorage API is super useful for keeping track of state between sessions in the same browser, but it's not as good a solution when your data needs to be shared across multiple devices or browsers. For instance, let's say you want to show a welcome modal to all new users that sign up for your product. If you use localStorage to track if a user has already seen this modal, your users will end up getting the experience repeatedly every time they switch devices or browsers, or whenever Chrome decides to nuke your data. I built remoteStorage to help fix that. Using the same API as localStorage, remoteStorage allows you to easily read and write data on the fly while maintaining state across browsers and devices in order to provide a better user experience. The project is built as a monorepo in Typescript and contains a JS library that works across any Javascript stack (including Node.js and React Native) and is lightweight (~1 kb minifi
Show HN: RemoteStorage – sync localStorage across devices and browsers (github.com/frigadehq) 129 points by pancomplex on Jan 12, 2024 | hide | past | favorite | 62 comments Hey HN! Wanted to share a new library and server I've recently been working on called remoteStorage. When building frontends with Javascript, the native localStorage API is super useful for keeping track of state between sessions in the same browser, but it's not as good a solution when your data needs to be shared across multiple devices or browsers. For instance, let's say you want to show a welcome modal to all…
saved by
related reading
- remoteStorageOpen web protocol for per-user storageremotestorage.io
- Roam Research – A note taking tool for networked thought.roamresearch.com
- Notionnanransohoff.com
- local-first-web · GitHubgithub.com
- Yjs | Homepageyjs.dev
- SWR: React Hooks for Data Fetching - Vercelswr.vercel.app
- Code Storage by the Pierre Computer Companycode.storage
- Rachel Weirachelqrwei.ca
- Part 2: Complete User Authentication: Sessions vs JWT | by Nick Jagodzinski | Mediummedium.com
- State management • SvelteKit Docskit.svelte.dev
- Navigating the future of frontendfrontendmastery.com
- GitHub - reduxjs/redux-devtools: DevTools for Redux with hot reloading, action replay, and customizable UIgithub.com