Cookies in Remix

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 30

  • @texoport
    @texoport Рік тому +21

    I don't even use Remix on a day-to-day basis but it's always fun to catch Ryan's screencasts :)

  •  11 місяців тому +8

    I loved your cookie explanations! You kept saying that it was maybe too detailed, but I loved every piece of it. As obvious as it might be for some devs, I'm a senior frontend dev and I had no idea. Just goes to show how much of web standards is hidden away from us nowadays.

  • @PGNCSGO
    @PGNCSGO Рік тому +9

    I have never used Remix, but I like to see the Web Standards in action (and Ryan is great teacher), so I love watching these videos anyways!

  • @PeterWhite-j1w
    @PeterWhite-j1w 11 місяців тому +2

    Thank you so much for doing these Remix Singles, been so helpful seeing these things in RemixJS put to practice as I've been building my app 🙌

  • @ginger-viking
    @ginger-viking Рік тому +3

    I could listen to Ryan talk about software development all day

  • @theldentity
    @theldentity Рік тому +2

    have been using remix for a year now on two big projects and it has been truly amazing 🤩

  • @emanuel_larini
    @emanuel_larini Рік тому

    Although it was not a part of the lesson I find super great that you explained the cookie details like samesite.
    Thank you! have a great end of year!

  • @ahnmebnsina381
    @ahnmebnsina381 9 місяців тому +1

    You explanation is far better than Kent. Trust me.

  • @Quenjii
    @Quenjii Рік тому +1

    I could listen to Ryan explain the web to me all day. Thankeg senpai

  • @SyedRiyadhulKarim
    @SyedRiyadhulKarim Рік тому

    Tutorials in remixrun are so helpful , clear and explained.. sometime some funny word make me laughing about typscript ... its mind refreshing. We love remix..

  • @Hariskhanmhariskhan
    @Hariskhanmhariskhan Рік тому

    good Ryan you went into them details too, people can always skip them, but good to see and understand everything you did

  • @CostGranda
    @CostGranda 8 місяців тому

    Thanks you for this series, really appreciated

  • @MaxPrilutskiy
    @MaxPrilutskiy 11 місяців тому

    actually, samesite explanation was really useful, thx

  • @julianjackson8756
    @julianjackson8756 11 місяців тому

    I enjoy the extra details!

  • @ShawnFlahave
    @ShawnFlahave 10 місяців тому

    Awesome videos Ryan. I'm in the future, btw. Still no jet packs.

  • @wb9283
    @wb9283 11 місяців тому

    question, when the browser cookie (userId) send it to server to validate the user, do you not need to validate again if that userId actually exists or do a server check if that user authenticated via a auth table? or this mechanism is enough to confirm the user is valid?

    • @ReactTipsWithBrooks
      @ReactTipsWithBrooks 11 місяців тому

      Good question! You definitely can do that. In my experience I usually need the userId as part of any queries that require authentication, so I don't bother looking up if the userId is valid, since the query itself will fail already

    • @wb9283
      @wb9283 11 місяців тому

      @@ReactTipsWithBrooks how about just say querying data? let’s say data that doesn’t necessarily directly related to the userId. Do you still validate the user if they authenticated in the server or the active userId cookie is sufficient when request is sent?

    • @brookslybrand
      @brookslybrand 11 місяців тому

      ​@@wb9283 I think it depends on your use case a bit. If the data isn't user specific but just requires an authenticated user there's no harm in just validating the user again (except for an extra db lookup, but if that shouldn't be very costly). However, since your server is the only thing that's able to set the value of this cookie it should be sufficient. So it's kind of up to you. Personally I would probably just validate every time in the example you gave, just to be super safe.

    • @wb9283
      @wb9283 11 місяців тому +1

      @@brookslybrand awesome! thanks so much for the input! Really appreciate your time answering my query (no pun intended 🤣) but yeah, thank you and have a great year ahead!

  • @DoubleCoolOp
    @DoubleCoolOp 26 днів тому

    How to set-cookie when you have multiple cookies?

  • @tylerlwsmith
    @tylerlwsmith 4 місяці тому

    The future is good

  • @tech3425
    @tech3425 Рік тому

    Loving remix

  • @mrzachnugent
    @mrzachnugent Рік тому

    The future is good

  • @technikhil314
    @technikhil314 Рік тому

    what vscode theme is it? also are you using vscodevim?

    • @texoport
      @texoport Рік тому

      Github Light

    • @GlazyDev
      @GlazyDev Рік тому +1

      On the theme, I'm not sure. He is using Vim emulation for VSCode though!

  • @henrikrinne3639
    @henrikrinne3639 6 місяців тому

    Hello from the future

  • @St0rMsk
    @St0rMsk 2 місяці тому

    Future sucks maan