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)

  • 8rhn6t6s
    link
    fedilink
    11 year ago

    Learn about hooks if you need validation on page navigations

    • @[email protected]OP
      link
      fedilink
      11 year ago

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

      • 8rhn6t6s
        link
        fedilink
        11 year ago

        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.