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)

  • ______OP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • 8rhn6t6s@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 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.

      • ______OP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

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