What its like to use NextJS in 2024

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • Wanted to show off how I'm working with the new NextJS App router
    Codebase: github.com/Dav...
    my stuff
    discord: / discord
    x (twitter): / bmdavis419
    insiderviz: www.insiderviz...
    blok: www.theblokapp...

КОМЕНТАРІ • 23

  • @ohLyln
    @ohLyln 5 місяців тому +7

    The “using bleeding edge tech to build cool shit” to “gymbro” pipeline is too real. I’m working on an AI app with Next 14 and RSC right now and have recently started going back to the gym seriously like a month ago hahah

    • @bmdavis419
      @bmdavis419  5 місяців тому +3

      This is the perfect summary of what I want to be. Gym bro who uses bleeding edge tech to build cool shit

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

      @@bmdavis419I vibe with that. I’m building a SaaS product in SvelteKit right now because I’m too sore to move from leg day on Friday 🤣

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

    Server actions in client components did not work in vercel but were perfectly working in dev and local production build in 14.2. Hopefully it will work for you.

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

      I've got it in prod rn and its working fine for me...

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

      They would definitely work in Next 14. I would double check the docs if it didn’t work for you

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

    Only issue is when you are a team working on a project the costs are too much especially for a developer from a 3rd world country. I have to pay 20$ per seat and the usage cost is another issue

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

    Your content is really appreciated. Engagement on your videos will increase if you do SEO.

  • @Dom-zy1qy
    @Dom-zy1qy 5 місяців тому +2

    Recently started using supabase, i see you're using drizzle. Would you recommend using an ORM with supabase or just simply use the supabase cli to generate types?
    I was looking at some of the starter project repos using supabase, and they generated the types with the supabase cli, it just seemed kind of scuffed. I dont know if anyone actually uses that workflow in prod.
    Just curious your thoughts on it.

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

      Yea I always just use drizzle and connect directly to the DB. Will have a full tutorial in the next few days

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

      ​@@bmdavis419 i can't find that video if it's out ! Just sub today. Great content :)

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

    Cool vid and app. If you wanted to, a longer video on something like this, gen-ai+rsc, server actions + rq, would be very beneficial.

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

      Yea I will for sure at some point, there is a ton of important stuff there that definitely deserves a big tutorial

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

    great video . keep it up. thanks

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

    You don't need "server only" with "use server". The "use server" directive marks a door from client to server and will make sure that code stays on the server. like a REST endpoint. Under the hood, it basically gives the client a URL string to use for sending a request. There is no way to serialize a function across the wire, so server actions can only run on the server.

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

      Not only that, but you should be able to import server actions in client components (when needed), which server-only should prevent.

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

      @@JohnCanCode I am not sure if "server only" would prevent importing a server action into a client component. The function itself is not being imported into the client, instead, the client just gets a URL string, so maybe "server only" still works.

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

      Interesting. I agree, I’ll have to test it

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

    I'd like to request fullstack sveltekit - supabase.

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

      Planning to record tmrw!