What is Navigation?

Поділитися
Вставка
  • Опубліковано 26 тра 2022
  • When we talk about navigation, we usually refer to going from 1 URL to another URL, from viewing 1 page to viewing another page.
    If you browse the internet long enough, you should probably know that that happens usually when u click on a link.
    So what more to talk about it?
    Well, we are gonna break navigation down to talk about what happen when you navigate from 1 page to another.
    🎧 SvelteKit Tutorial For Beginners • SvelteKit Tutorial For...
    🎧 Svelte Tutorial for Beginners • Svelte Tutorial for Be...
    📚 SvelteKit kit.svelte.dev
    📚 Svelte svelte.dev
    🥰 Support me www.buymeacoffee.com/lihautan
    🔗 Want to learn more from me? Check out these links:
    Twitter: / lihautan
    Blog: lihautan.com/
    Newsletter: lihautan.com/newsletter
    Discord: / discord
    VS Code Theme: Dracula at night marketplace.visualstudio.com/...
    ZSH Theme: bullet-train github.com/caiogondim/bullet-...
    #sveltekit #svelte #sveltekitbeginner #sveltekittutorial
    Thanks for watching 🥰 -- with love, Li Hau

КОМЕНТАРІ • 6

  • @aaditkamat4995
    @aaditkamat4995 2 роки тому +4

    This is an excellent primer on navigation using the DOM or the History API provided by HTML5. Thanks @lihautan!

  • @alwayzsmarter
    @alwayzsmarter 2 роки тому

    For sveltekit what is different about using goto() than one of these? Are there benefits or just another way?

    • @lihautan
      @lihautan  2 роки тому

      Oh all these happens under the hood when u uses goto

    • @alwayzsmarter
      @alwayzsmarter 2 роки тому

      @@lihautan but if i dont use goto and use href im not missing anything special with goto on basic path given

  • @jvdmeulen
    @jvdmeulen 2 роки тому

    meta refresh / header location are also methods for changing url if i'm correct