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)
If you’re handling any sensitive data, passwords, or private user data, DO NOT use stores. Stores should only be used on the client-side. Use event.locals to pass data around for the user on the server side instead. If you use a store on the server-side, you risk that data being exposed or used in other current users and browser session.
For form validation, check out SvelteKit form actions. Also, I personally find Yup to be easier to use than Zod