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)

  • ______@lemm.eeOP
    link
    fedilink
    arrow-up
    1
    ·
    9 months 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
      ·
      9 months 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.

      • ______@lemm.eeOP
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

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