Title.

I’m going to use svelte and sveltekit. Most likely tailwind. Zod for validation.

Any tips and tricks/ideas, pits to watch for before I commit heavily into falling into them.

This project could potentially be in vue/react but in my opinion svelte is more appealing to me (specially because of stores)

You are viewing a single thread.
View all comments View context
1 point

Could you explain an use case. I don’t understand what would need to be validated when navigating.

permalink
report
parent
reply
1 point

This is more protecting data.

For example if you have a page that only certain users can view. You can create a hook to validate their credentials every time they visit that page and redirect them out if necessary.

permalink
report
parent
reply
1 point

Oh so authentication, I was thinking form validation. Interesting.

permalink
report
parent
reply

Svelte + SvelteKit

!sveltejs@programming.dev

Create post

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.

Community stats

  • 1

    Monthly active users

  • 30

    Posts

  • 37

    Comments