The new `useTransition` hook with 3 example usecases

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

КОМЕНТАРІ • 37

  • @baychaoz
    @baychaoz 7 днів тому +1

    You are by far one of the best of the few people who manage to explain clearly and straight to the point. That's overly undervalued nowadays. Looking forward to the next stuff I'll grasp from your next Nextjs vid pal.

    • @hamedbahram
      @hamedbahram  6 днів тому

      Thank you! I'm glad to hear that, and welcome onboard!

  • @dreamsachiever212
    @dreamsachiever212 6 місяців тому +10

    this channel is so underrated. Thanks for the education. I have learned and still learn from you

  • @BroccoliDev
    @BroccoliDev 14 днів тому +1

    What an amazing tutorial! Clearly made me understand this problem!

  • @temitopedavid9508
    @temitopedavid9508 6 місяців тому +2

    As expected! Another new thing to learn

  • @afshinkaramifar4429
    @afshinkaramifar4429 6 місяців тому +3

    like always, great tutorial, well done 👏

  • @zaqqeus
    @zaqqeus 6 місяців тому +2

    دم شما گرم 😊

  • @praiseoshilim1006
    @praiseoshilim1006 6 місяців тому +1

    Great Video! Please could you make a tutorial on next-redux-wrapper.

    • @hamedbahram
      @hamedbahram  6 місяців тому +1

      Please don't use Redux.

  • @konradhylton
    @konradhylton 6 місяців тому +2

    Useful

  • @godlyradmehr2004
    @godlyradmehr2004 6 місяців тому +1

    Really useful ❤❤❤❤❤

  • @rezakhani8627
    @rezakhani8627 5 місяців тому +1

    Hello, I want to use SSR (Server-Side Rendering) and also use useState. Is it possible to do such a thing?
    In fact, I want to include the comments section where I display 20 comments using SSR and display the rest using the client-side rendering. I want to use them in a combined way, but I don't know how to do it. I know how to fetch more comments, but I don't know how to render that part from the beginning. Can you please provide an explanation? Thank you.

    • @hamedbahram
      @hamedbahram  5 місяців тому

      Sure, you can do that. Watch the video I have on Infinite scrolling where I fetch some initial data and use server actions to load more.

  • @sahajranipa
    @sahajranipa 14 днів тому +1

    Hey can you share your notion nextjs notes with us it would help us in making notes about nextjs

    • @hamedbahram
      @hamedbahram  12 днів тому

      These are the module content from my NextJs course.

  • @shahryartavakkoli
    @shahryartavakkoli 6 місяців тому +1

    Thank you

  • @kennyNn
    @kennyNn 6 місяців тому +1

    Can this be used on a server component without converting to a client component

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

      You can use the `startTransition` function on the server, but state updates only happens on the client.

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

      @@hamedbahram that's fine as long as the page remains server rendered

  • @hbela1000
    @hbela1000 6 місяців тому +1

    cool, thx.

  • @fakhrulislamfuad8072
    @fakhrulislamfuad8072 6 місяців тому +1

    nice video bro.. Can you do something with web-component with nextjs? still now, there is no video related to this topic in the youtube and even the google doesn't have any recent posts regarding this.

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

      I'll have that in mind. Thanks for the suggestion.

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

    According to your last localization video, i have implemented the language switch system.
    but the issue I am getting is from the middleware you created. i am not getting my static files from the public folder.
    export const config = {
    // Matcher ignoring `/_next/` and `/api/`
    matcher: ["/((?!api|_next/static|_next/image|favicon.ico).*)"],
    };
    suppose I remove this matcher string and put simple "/" the static files load properly. can you tell me the solution? what do I need to change? please. thanks

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

      Can you leave the comment on the related video?

  • @jakeycakester
    @jakeycakester 6 місяців тому +1

    Can this be used with other state management libraries like zustand?

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

      That's a good question! I don't know... I'd have to try.

  • @uixmat
    @uixmat 6 місяців тому +1

    Love this one Hamed 🫶🏻