Protected Routes and Redirect on Login with NextJS 13 + Firebase Auth

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 10

  • @gauthampait
    @gauthampait 11 месяцев назад +7

    Bro, if you manage to this using server component then this video makes a lot of sense.

  • @alaqmar6534
    @alaqmar6534 10 месяцев назад +3

    Simple and straight to point, Thanks 👍

  • @isagive
    @isagive 8 месяцев назад +2

    תודה רבה, הסבר מועיל מאוד ❤️👍

  • @ThanHtutZaw3
    @ThanHtutZaw3 Год назад +1

    Great explanation

  • @rupeshadhav9511
    @rupeshadhav9511 Год назад +1

    Great Stuff.👌
    Thank you so much.

  • @cordial
    @cordial Год назад

    Good stuff. Personally I'd jsut redirect them to the login page rather than having the Authguard, but maybe thats just me.

  • @devzaks8912
    @devzaks8912 8 месяцев назад +1

    the whole thing is in client component? 🙄
    We'll appreciate so much more if we can get a server component technique.
    Thta's the point of app router

  • @deezwhat2791
    @deezwhat2791 Год назад +1

    what's the point of using app router when u r making whole layout as client component lol

  • @boknoyzkie7217
    @boknoyzkie7217 Год назад +1

    Violation #1 never make your page component a client component.