This is a quick note-taking app that demonstrates how to use RxDB within a Svelte app. It runs on Svelte 5 and uses runes:
- Shared state lives in
src/store.svelte.jsand is created with$state. src/NoteList.sveltesubscribes to the RxDB query inside an$effect, which also unsubscribes when the component is destroyed.src/main.jsstarts the app withmount()instead ofnew App().
npm run preinstall && npm i && npm run devThen open http://localhost:5000/