this post was submitted on 12 Dec 2024
0 points (50.0% liked)

Svelte + SvelteKit

551 readers
1 users here now

Svelte is a JavaScript framework for building user interfaces (UIs) that compiles your code into efficient JavaScript during the build process, resulting in better performance and smaller bundle sizes. Svelte focuses on reactive programming, where UI components update themselves when data changes, eliminating the need for a virtual DOM. Svelte Kit is an extension of Svelte that adds features like routing and server-side rendering, simplifying the creation of full-stack web applications. It provides file-based routing and supports server-side rendering, enabling faster initial page loads and improved search engine optimization. Svelte Kit combines client-side Svelte components with server-side rendering and serverless functions for a seamless development experience.

founded 2 years ago
MODERATORS
 

Coding @couchdb is one thing, but do you have a CouchDB mindset? 🧩

We’ve just added 2/4 parts of an in-depth tutorial to our blog: a real-time multi-user Kanban board with CouchDB and @sveltejs.

Spoiler: no server-side code to start. Relaxing, right?

Part 1 covers requirements, challenges and trade-offs. The main challenge? *Conflicts!*

Core principles to avoid them: Making data granular + updating as few docs as possible

Check it out: https://neighbourhood.ie/blog/2024/12/05/realtime-multiuser-kanban-board-with-couchdb

More on part 2 🧵

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 weeks ago

Nice. Will give this a read later when I have some time.

Adding PouchDB to my Svelte project has been on my to-do list for a while; just haven't gotten around to to it yet. Was originally looking for just an IndexedDB library, and Pouch can do that and more.

I've got plans for Pouch on the client side, but I haven't yet decided how or if I'm going to leverage Couch on the server-side. Current idea is to use it for syncing the app's settings/preferences/state across devices.