Next.js Server Actions... 5 awesome things you can do

  Рет қаралды 248,292

Beyond Fireship

Beyond Fireship

Жыл бұрын

A full tutorial and breakdown of the new Next.js Server Actions feature. Learn how to handle form submissions and implement optimistic updates without the need to API routes.
#reactjs #javascript #webdevelopment
Get the Full Next.js Course fireship.io/courses/nextjs
Server Actions Announcement nextjs.org/blog/next-13-4

Пікірлер: 394
@beyondfireship
@beyondfireship Жыл бұрын
If you like this style of content, check out the full course for more. Use NEXT30 to get 30% off (expires this sunday) fireship.io/courses/nextjs
@toastrecon
@toastrecon Жыл бұрын
Purchased! Can't wait to get started.
@abdullahrafique2883
@abdullahrafique2883 Жыл бұрын
Is this nextjs course with latest updates? Like next13
@mgams4830
@mgams4830 Жыл бұрын
like the miniature of the video
@maxwebstudio
@maxwebstudio Жыл бұрын
Take my money 💸
@Alcaatraz01
@Alcaatraz01 Жыл бұрын
Any chance Nuxt3 course happens? And/or sveltekit. Good stuff though.
@TomHermans
@TomHermans Жыл бұрын
Like how you specifically chosen dogs for this tutorial so you could have upDog as a function. Well played
@invinciblemode
@invinciblemode Жыл бұрын
What’s updog
@funkenjoyer
@funkenjoyer Жыл бұрын
@@invinciblemode not much, sup?
@manav8289
@manav8289 Жыл бұрын
InertiaJS also reloads components without needing to build an API, while also preserving state without a refresh, all from your backend router from ROR or Laravel. I don't like having server and client code in the same file, but that's just me.
@leoryzap
@leoryzap Жыл бұрын
This is going completely over my head lol, probably because i dont have a concept of how this was done originally.
@user-sw2xg9lz6p
@user-sw2xg9lz6p Жыл бұрын
+1
@heroe1486
@heroe1486 Жыл бұрын
Remember we were all using Next because "it's just React but with extra goodness (file based routing, handy utility functions, middleware etc)"
@Gogonel290
@Gogonel290 Жыл бұрын
I feel like using react query its more easier, readable and intuitive, and can be used outside of html forms
@heroe1486
@heroe1486 Жыл бұрын
​@@Gogonel290 All of that without needing to couple your backend code with your frontend one and not being forced to use Node, React Query makes everything very easy. And as a bonus it also works with Vue Svelte and Solid
@MasayaShida
@MasayaShida Жыл бұрын
Same
@mertdr
@mertdr Жыл бұрын
“Javascript rules them all” idea has been a smart choice to handle both frontend and backend by a single language. server actions brings the same react conventions rather than nodejs or api routes paradigm and makes to adopt this approach easier. But I don’t know if it’s good or bad news for frontend devs since we all are becoming full stack devs gracefully like the old days (php+jquery). Nowadays having smaller teams is becoming a trend even for big companies after all.
@heroe1486
@heroe1486 Жыл бұрын
It's not a smart choice, it would have been if the node ecosystem wasn't a mess and if there were better frameworks for it, a lot of people thus don't want to write their backend code in JavaScript and that's understandable. (Big) Companies would never use NextJS for the backend of a serious and not very small application.
@mertdr
@mertdr Жыл бұрын
@@heroe1486 The reason I think it’s smart is that you can make a website without php but you cannot make a website without javascript. Of course I refer to today’s standards and php can be replaced with any other language in this context. I’m also not a huge fan of node and don’t enjoy backend scripting that much. But apparently things are going to evolve around this approach.
@IvanRandomDude
@IvanRandomDude Жыл бұрын
Full stack is indeed a future. Businesses will not be paying specialists anymore, they will expect us to be able to deliver apps from UX to deployment. But that obviously has it''s cons. Knowing a little bit of everything means we will not be excelling in anything which can lead to overall lesser quality. Of course, talking about simple to medium projects. Big and complex projects with uber business logic will always require specialists and domain experts.
@oscarljimenez5717
@oscarljimenez5717 Жыл бұрын
When tooling being upgrading year after year, frameworks, ai, etc. Frontend developers will convert to Fullstack developers, and Backend developers only be necessary in a microservice arquitcture or big apps, no need in small apps.
@oscarljimenez5717
@oscarljimenez5717 Жыл бұрын
@@timebroua that's why backend developers will be not removed. Frontend developers will transition to fullstack and backend developers will be needed to be more expert. As backend developer, you really want to create the endpoints for a frontend developer? and then argue with him because comuncation problems?
@James_Hallam
@James_Hallam Жыл бұрын
Fantastic content. Information rich with no filler but seasoned with a little levity and entertainment. Perfect.
@pif5023
@pif5023 Жыл бұрын
I would love to see a video with frameworks and languages portrait as tribes and nations that fight over the Web like it was an history class
@supremebeme
@supremebeme Жыл бұрын
The AI Audio is pretty good in this one.
@yellowboat8773
@yellowboat8773 Жыл бұрын
Dam I didn’t even realise this was AI generated voice?
@supremebeme
@supremebeme Жыл бұрын
@@yellowboat8773 yeah it’s especially funny during the jokes because AI can’t get the cadence quite right.
@MrFrozener
@MrFrozener 11 ай бұрын
for non-native english speakers, it's far too fast
@maxwebstudio
@maxwebstudio Жыл бұрын
Amazing video. Thank you ! So excited about those updates 🔥
@Sindoku
@Sindoku Жыл бұрын
I’m thinking that NextJS is turning into Ruby on Rails, which most people didn’t like because of how “magicky” it felt. In the other hand, if you understood how it works, then using RoR offered a big advantage.
@okage_
@okage_ Жыл бұрын
agreed
@_sevelin
@_sevelin Жыл бұрын
I think next is unnecessarily more complex in terms of syntax. Doesnt seem that scalable now... Ror on the other hand is easy to understand...
@timalk2097
@timalk2097 Жыл бұрын
I see now why most of the elder devs that were really successful were RoR devs (in my region at least)
@marusdod3685
@marusdod3685 Жыл бұрын
@@_sevelin you're talking about scalability, almost all companies that used ruby on rails migrated away from it because it was dogshit slow
@_sevelin
@_sevelin Жыл бұрын
@@marusdod3685 i meant the code's scalability (i think the better word would be maintainability). i can't imagine writing so much non relevant code to achieve something simple. at least that's where ror shines...
@alexanderf7008
@alexanderf7008 Жыл бұрын
thank you, I finally started to understand developing technics thanks to your videos
@Alex-xl4xe
@Alex-xl4xe Жыл бұрын
Server Actions are the feature I literally needed the most right now, I had two github-discussions running which where closed now because of this.
@vin5718
@vin5718 Жыл бұрын
Using server actions defined somewhere in client components even with having to use useTransition is still really cool and probably going to be my most used feature.
@gin2064
@gin2064 Жыл бұрын
same
@alulaleak
@alulaleak 5 ай бұрын
when using a server action in a client component, does the action still happen on the server side?
@edan626
@edan626 5 ай бұрын
yes@@alulaleak
@AshleyTayles
@AshleyTayles Жыл бұрын
Love your humour dude, thanks for the content! 😊
@planetmall2
@planetmall2 Жыл бұрын
Great video! Loves your coding tutorials!
@jordondax
@jordondax Жыл бұрын
You're a machine! Enjoyed the video.
@heroe1486
@heroe1486 Жыл бұрын
You can do that without reloading via Laravel + livewire, Phoenix + Liveview, Rails + Stimulus, Django + Reactor and so on. As always they're reinventing features that existed for a while elsewhere and making it like it's a new thing. We're a ton to use React/Next because of its simplicity and because we actually want separation of concerns.
@YuriG03042
@YuriG03042 Жыл бұрын
it's a new thing in React, which is what Next is meant for. you are acting like they claimed to build a new base on the moon or something
@oscarcisneros1368
@oscarcisneros1368 Жыл бұрын
Stop trying to sell us your shitty boomer frameworks
@heroe1486
@heroe1486 Жыл бұрын
​​​​​​​​@@YuriG03042 It's in response to the Abramov's "With PHP you have to reload" And welll yes that's what they're trying to convey, just look at their Apple like conferences and overall marketing for things that have been here in other frameworks/PAAS for years, same for the "it's going to reshape the industry" kind of reactions from the public.
@buldezir
@buldezir Жыл бұрын
Also same stuff exists in SvelteKit for quite a while
@heroe1486
@heroe1486 Жыл бұрын
​@@buldezir And apparently in Remix too
@jeykherjiot2408
@jeykherjiot2408 Жыл бұрын
Very clear you explanation, you're awesome bro
@DavisonIncorp
@DavisonIncorp Жыл бұрын
I don't know, part of me really liked having react apps be frontend, and the ability to have something entirely different as my backend. I know i'm not being forced into this, but I kind of like the systems that we have now more than this. Will need to play with it more.
@kodekorp2064
@kodekorp2064 7 ай бұрын
Its similar to developing in Ruby On Rails framework.
@haze4828
@haze4828 Жыл бұрын
I knew it was coming, I was prepared for the punchline, it still got me. Every. time. Curse you upDog!
@tak68tak
@tak68tak Жыл бұрын
Thanks. best tutorial video ever seen.
@nightshade427
@nightshade427 Жыл бұрын
NextJs server actions looks like aspnet postback update panels from 2000. Seems to work the same way. It even posted back via ajax and didn't do a full page refresh. What is new is old.
@migue018
@migue018 Жыл бұрын
Yeah and it worked like a charm...no page reload!
@jimynicanorquintanillacero9401
@jimynicanorquintanillacero9401 3 ай бұрын
Awesome explanation, thank you
@anoniem012
@anoniem012 Жыл бұрын
I love php working style happy to see nextJS mixing it with javascript.
@Slaat1
@Slaat1 3 ай бұрын
loved the timing with the like button glow up!
@Danielo515
@Danielo515 Жыл бұрын
Do you know what’s great about api endpoints? Freedom to move your app to a different backend
@ianbdb7686
@ianbdb7686 Жыл бұрын
exactly
@chipmo
@chipmo Жыл бұрын
In practice "move your app to a different backend" will almost certainly involve a lot more than simply changing a url. Many frontends are typically strongly coupled to a particular backend and vice versa with the backend only existing for that frontend, and the argument is that in many cases having additional abstraction around this coupling can make us less flexible rather than more. React has always been bullish on removing barriers between code and challenging theory about how we should divide things up, remember "separation of concerns not separation of technology" so this is par for the course for them. Of course if you feel you do need that abstraction and explicit separation you are still welcome to write APIs and separate client side UI. But if that UI is the only consumer of that API then this may be a decent way to create it that's clearer, less complex and more performant. What's more if you further down the line realise you need the API then the pathway to going from server side to API led is probably a lot smoother than it was.
@tobiascornille
@tobiascornille Жыл бұрын
How often do you do that though? I'd say for most indie projects that's not a big concern
@ricardocnn
@ricardocnn Жыл бұрын
It's Laravel without reload
@ecel_style
@ecel_style Жыл бұрын
but you will never, it will never happen :)
@timelsaer6729
@timelsaer6729 Жыл бұрын
This update is so crazy good🙌🏻
@Dev-Siri
@Dev-Siri Жыл бұрын
after seeing Remix, literally every framework after it implemented server action. and its good, the frameworks are better because of this feature. for anyone wondering about leaked credentials, just remember, if you are using it in a server component, then a leak is impossible since the code will never run on the client and the env will be undefined in the browser anyway if it is not prefixed with NEXT_PUBLIC_. If you are using server actions in a client component, then it may be a potential leak. But remember that server actions only run on the server + the envs will not be available if not prefixed with NEXT_PUBLIC_. And server actions are currently in alpha so their security will be improved in the future.
@fluente
@fluente Жыл бұрын
Damn. First time I’m seriously considering the pro membership.
@AndreasBeder
@AndreasBeder Жыл бұрын
I was just wondering about the three CSS http calls, are they necessary?
@amatzen
@amatzen Жыл бұрын
Was wondering just the same, especially if they are identical, which I suppose they are.
@gaborkrisko
@gaborkrisko Жыл бұрын
​@@amatzen in that case the are probably served from the browser cache
@senxo.visuals
@senxo.visuals Жыл бұрын
​@@gaborkrisko They are not served from cache, because there's a different ?v=123123 on each of them, each time they load. But maybe it's due to the development/local server and how it ensures that files are always fresh?
@zuma206
@zuma206 Жыл бұрын
Just the Dev server, wouldn't happen in prod
@user-wq2ku3kt3s
@user-wq2ku3kt3s 11 ай бұрын
Could you please describe more about database usage in actions? Because it is a more tricky thing, when you need to open a connection, then close it, or even open one connection over all actions ?:) I use surrealdb + server actions, and there are some interesting things with open and close connection :)
@izzy7541
@izzy7541 Жыл бұрын
Yep, revalidate all page resources after every form submission. This is a revolution! P.S Already a year in remix and svelte 🤪
@nikmat
@nikmat Жыл бұрын
React router dom v6 has it too?
@izzy7541
@izzy7541 Жыл бұрын
@@ianbdb7686 it's not new and in react. Got a long time in remix
@henriquealmeida348
@henriquealmeida348 Жыл бұрын
Refetching everything is usually and actually a very good thing as you won't need to engineer complex situations. But, as far I understood in this situation, it will only refetch the specific component.
@pengain4
@pengain4 10 ай бұрын
I like SvelteKit approach more: it's quite similar but you still maintaining separation of execution concern (BE/FE).
@halfgui8227
@halfgui8227 Ай бұрын
That whats up dog killed me
@AIZEN155
@AIZEN155 2 ай бұрын
Fact : I learned everything I need from this vid
@solomonowusu-ansah1751
@solomonowusu-ansah1751 5 ай бұрын
Nice one. Loved it
@braneopacic5022
@braneopacic5022 4 ай бұрын
This was great, tnx!
@hashimanshad1041
@hashimanshad1041 11 ай бұрын
fantastic content
@codinginflow
@codinginflow Жыл бұрын
2:06 Interesting. I usually put the server-side data into a state so I can update it immediately from the response I get back from the server
@maskman4821
@maskman4821 Жыл бұрын
This is really awesome 😲😍🤩😌😘
@JamesQQuick
@JamesQQuick Жыл бұрын
Geez this stuff is cool!
@constant8339
@constant8339 Жыл бұрын
you can use this with the src directory right?
@nikdanilov2854
@nikdanilov2854 Жыл бұрын
if i am not wrong actions work only if your api routes are within the project? or they can be used if you have api routes somewhere else too?
@serenity-sounds551
@serenity-sounds551 5 күн бұрын
awesome. thaks
@leagueoflags
@leagueoflags Жыл бұрын
Mark my words, Vercel will become the new, bloated, unpayable AWS in 5 years time. Keep hyping it, everyone...
@heroe1486
@heroe1486 Жыл бұрын
Impossible, that's not the same audience, most or their users are beginners or small companies that benefit from it for pennies before scaling a bit (and realizing the pricing isn't worth). But yeah the hype isn't deserved, it's overpriced (40x the price of a VPS or CDN for bandwidth) because most people can't figure out docker, how to use a CDN and GitHub actions and think they're doing crazy stuff that no one can reproduce.
@someonewhowantedtobeahero3206
@someonewhowantedtobeahero3206 Жыл бұрын
Their pricing is obnoxious.
@rand0mtv660
@rand0mtv660 Жыл бұрын
@@heroe1486 I mean, every 3rd party service operates like that. It abstracts all of this stuff to be few clicks as possible so it's convenient. You are paying for the convenience, that's mostly it.
@seanpe8474
@seanpe8474 Жыл бұрын
​@@heroe1486 on your point about the vps and cdn being cheaper, if I'm making a portfolio site or just want something quick and usable, I don't wanna go through all those steps. for a production project, yes it makes sense to have more fine tuned control in order to solve those issues but for a personal/hobby project not worth the extra hassle (which leads to effort invested that may demotivate me from finishing the project in the first place). Theres still even an argument that that overhead is worth it: sure you'll save money on deployment but you instead pay more on labor/knowledge cost.
@avidworkslol
@avidworkslol Жыл бұрын
I'll be honest, when I first heard about all this I couldn't help but think how overcomplicated React was getting, but this video reversed my thinking.
@bossgd100
@bossgd100 Жыл бұрын
Ready to modify all backend code until the next update
@shaunpx1
@shaunpx1 Жыл бұрын
Great video as always! but Isnt Remix doing this or somthing simular with loaders and actions?
@danielcooke3243
@danielcooke3243 Жыл бұрын
yeah, next13 is entirely "inspired" by remix - and likewise the new routing system in remix v2 is inspired by nextjs13 - its a win win for all frameworks.
@codinginflow
@codinginflow 11 ай бұрын
Did you not apply any custom font here because it causes jitter in the UI when you revalidate the page?
@XRENDERMAN
@XRENDERMAN Жыл бұрын
So this is better than it was? Still looks like a lot of code and things to keep in mind for such simple thing to do. It would be 5 lines of code in Sveltekit
@MarijanKopcic
@MarijanKopcic Жыл бұрын
All of this is for s simple form handling :) hahaha nice one keep it up
@blaizeW
@blaizeW Жыл бұрын
Another great video that makes me to want to quit web development 🙂👍
@emilz0r
@emilz0r Жыл бұрын
😂
@Mariiius53
@Mariiius53 Жыл бұрын
Server, server... The client side first was also useful
@axelramirezludewig306
@axelramirezludewig306 Жыл бұрын
it's not 2017 anymore
@socketbyte5348
@socketbyte5348 Жыл бұрын
@@axelramirezludewig306 yeah it's 2001
@jordymaryns4945
@jordymaryns4945 Жыл бұрын
Will the React course ever become a single purchase?
@g-pg
@g-pg Жыл бұрын
Someone correct me if I'm wrong, but I think the benefit of mutating directly on the component isn't that great considering that in any organized app we would have to write the logic in separate files, like we already do with Next's APIs. As for optimistic updates, the useSWR hook, which is also maintained by Vercel, is a very simple and effective tool to handle the rendering of API requests
@philheathslegalteam
@philheathslegalteam Жыл бұрын
Ill say this. As a maintainer of an OSS library using SWR, server actions completely decimated its use case in web. For RN, and non next apps SWR is still useful, but in next 13 it’s completely useless. I almost discourage using SWR in next 13 app dir.
@Amaraticando
@Amaraticando Жыл бұрын
server actions can be defined inside components, imported from other files or passed as props. This is not the same DX as using SWR or react-query.
@hgeldenhuys
@hgeldenhuys Жыл бұрын
Okay, Remix has to step up their game
@nabinsaud4688
@nabinsaud4688 Жыл бұрын
She is amazing ❤
@m.kolomoyets
@m.kolomoyets Жыл бұрын
Will it replace react-hook-forms?
@henriquesenadev2194
@henriquesenadev2194 4 ай бұрын
I am starting with Next... why using frontend server actions to update database instead a dedicated backend? What is the benefit?
@CodingWithTaaxo
@CodingWithTaaxo Жыл бұрын
Nice
@artrix909
@artrix909 Жыл бұрын
next js moving up in the directory!
@himanshurawat3934
@himanshurawat3934 3 ай бұрын
when i import useOptimistic in next js application it says no module found. I am using stable next 14 version. do i need to do change or add some experimental flag for the same?
@workflowinmind
@workflowinmind Жыл бұрын
Serious question, how are you so productive? How big is your team? Very impressed by your publication rate/quality
@jonndenzelramos5238
@jonndenzelramos5238 10 ай бұрын
Thanks dad!
@TheChartwhisperers
@TheChartwhisperers 8 ай бұрын
Do you know what is good about api endpoints? Creating mobile apps that uses the same backend.
@g-program-it
@g-program-it Жыл бұрын
nice, i didn't know what all the hype was about, cheers for clarifying with the video
@DominikSipowicz
@DominikSipowicz Жыл бұрын
thanks 🔥🚢
@esraamohamed6539
@esraamohamed6539 10 ай бұрын
if I have a sidebar layout that gets a data and I want to mutate in that data from another place, how can I do that?
@lucasgiunta8874
@lucasgiunta8874 10 ай бұрын
Those feature are the equivalent of Actions Form from Sveltekit right ?
@KoenVerheyen
@KoenVerheyen Жыл бұрын
Is there a way to set the default playback speed to .5 for this channel only?
@Ramon314
@Ramon314 Жыл бұрын
yes, but why?!
@FajarAndiPatappari
@FajarAndiPatappari Жыл бұрын
Fullstack for the win
@Frozd
@Frozd Жыл бұрын
Oh look! Something SvelteKit already has! Nah it's actually a cool feature and I'm happy it comes to more frameworks! :)
@erickmoya1401
@erickmoya1401 Жыл бұрын
Look what they have to do to mimic a small portion of our power
@krishgarg2806
@krishgarg2806 Жыл бұрын
everything looks great, but one thing has me thinking, how are we thinking about authentication? Like checking auth status in server actions, using cookies or tokens, login and register. I know you can say just use next-auth but that would increase too much dependence on a third party library.
@riddixdan5572
@riddixdan5572 Жыл бұрын
that's what we call vendor locking
@oscarljimenez5717
@oscarljimenez5717 Жыл бұрын
Middleware
@claritise
@claritise Жыл бұрын
You can use pretty much any authentication package you want? All you are doing is either decoding a JWT or doing a session cookie lookup.
@Ramon314
@Ramon314 Жыл бұрын
But how do you apply authentication on something like this? You need the header from the request, right?
@MrMudbill
@MrMudbill Жыл бұрын
Something about mixing server side code and client side code, in the same language in the same file, is giving me a lot of anxiety. I expect server secrets to be leaking a lot if this becomes popular.
@aakarshan4644
@aakarshan4644 Жыл бұрын
they already did lol, i saw a tweet of people accessing server side env variable in client console
@agungokill
@agungokill Жыл бұрын
php already did long time ago lmao
@MrMudbill
@MrMudbill Жыл бұрын
@@agungokill php didn't use the same language for server and client, so it had better separation, if only marginally. But here since it's all JavaScript, simply forgetting to write "use server" feels like enough to leak something.
@agungokill
@agungokill Жыл бұрын
@@MrMudbill that's the point, if php do it better why need something like similar to php again to some extent. just improve php to able to passing component tho
@MrMudbill
@MrMudbill Жыл бұрын
@@agungokill I don't think I understand what you're suggesting
@thechronicgrump3906
@thechronicgrump3906 Жыл бұрын
I keep getting Type error: Type '(formData: FormData) => Promise' is not assignable to type 'string' on my build. The issue is from this part action={updateProfile}>. Any idea how to fix?
@JagdeepSinghKalsi
@JagdeepSinghKalsi Жыл бұрын
Yup, that's like Livewire in Laravel
@kai12626
@kai12626 10 ай бұрын
Seem promising but for now its painful to await a server action with revalidatePath then `router.back()` (to the list screen) to close a parallel routes modal.
@PenguinCrayon269
@PenguinCrayon269 Жыл бұрын
historical lessons of software engineering thrown out of the window as long as "IT DOESN"T RELOAD THE PAGE BRO"
@shreyas.sihasane
@shreyas.sihasane 9 ай бұрын
Can you please make a short video on how to upload the image using this server actions from client component to server component to get that image URL.. Please make video I am very struggling with it.
@seniorfrontend
@seniorfrontend Жыл бұрын
i fucking love you Jeff Delaney
@AveN7ers
@AveN7ers Жыл бұрын
Difference between this and solid-start createServerAction?
@kwhandy
@kwhandy Жыл бұрын
haiyya don't use vercel kv, use normal sql mysql or postgres and prisma don't want vendor lock tho
@majorhumbert676
@majorhumbert676 Жыл бұрын
Should be trivial to replace the function calls once you want to move to a different database
@emanuelescarsella3124
@emanuelescarsella3124 Жыл бұрын
Isn't that the same thing sveltekit does for svelte?
@unknownlordd
@unknownlordd Ай бұрын
i knew that updog joke was happening 😂
@mauriciomdea
@mauriciomdea 4 ай бұрын
Reloading the page or not, both PHP and Next.js server actions tend to mix frontend and backend stuff into spagethi code. That's why we used MVC for so long, separation of concerns.
@academai11
@academai11 3 ай бұрын
Yep
@codinginflow
@codinginflow 11 ай бұрын
The opimistic update feature is cool but it requires JS again, whereas normal form actions can execute without JS
@usamesavas9848
@usamesavas9848 Жыл бұрын
is it only possible via form? why cannot I call a server action from a button click?
@ofmouseandman1316
@ofmouseandman1316 Жыл бұрын
I'm a Vue Fanboy that wants Server Actions in Nuxt!
@ninecrowns7092
@ninecrowns7092 Жыл бұрын
Vercel's keynotes creep me out. It's like they're trying to be the Hooli of Javascript frameworks.
@LazerMarsupial
@LazerMarsupial Жыл бұрын
The course is 20 bucks! 20! I thought it would be like 300. Fucking hell I am getting two, just for the sake of it!
@LazerMarsupial
@LazerMarsupial Жыл бұрын
Guys it is 20 bucks!
@adampatterson
@adampatterson Жыл бұрын
Why is the css reloaded loaded with rhe actions?
@marksears3117
@marksears3117 Жыл бұрын
Where is the redirect from 04:21 imported from?
@aenjojo
@aenjojo Жыл бұрын
from "next/navigation"
@korseg1990
@korseg1990 Жыл бұрын
I would like to see how frontend devs will deal with high-load, scaling and security 😅
@ibrahimmustafa907
@ibrahimmustafa907 7 ай бұрын
in 5:13 when he says button clicks the like and dislike button gets a rainbow border is this a new feature
@primostasis
@primostasis Жыл бұрын
hi kind of confuse how to implement an alert message after a successful submit update or insert using this "use server" components does anyone know how? ahahah
@jaiminparmar7996
@jaiminparmar7996 Жыл бұрын
you need to do that in a client component
@krome305
@krome305 Жыл бұрын
PHP is waving
@mattmotionpix
@mattmotionpix 8 ай бұрын
I would feel so filthy if I spent a day authoring code that winds up looking like this stuff
@alterdanish
@alterdanish 11 ай бұрын
how can I upload files to s3 using server actions
@ivanakcheurov
@ivanakcheurov Жыл бұрын
Is “API first” principle obsolete nowadays? How can Server Components allow other clients to use the same backend? That was the whole point of SPAs, mobile clients communicating only over REST/GraphQL so that you can add more clients/automation/consumers later
@ghostlexly
@ghostlexly 6 ай бұрын
I think same as you, but looks like people don’t care and are just hyped
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 173 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 28 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 44 МЛН
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 36 МЛН
The 3 REAL benefits of Next.js Server Actions
12:11
ByteGrad
Рет қаралды 22 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 551 М.
Build better payment forms using new “embedded” Stripe Checkout
6:04
PROOF JavaScript is a Multi-Threaded language
8:21
Beyond Fireship
Рет қаралды 259 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 380 М.
I DONT USE NEXT JS
54:01
ThePrimeTime
Рет қаралды 312 М.
Next.js 13… this changes everything
6:16
Fireship
Рет қаралды 769 М.
How I deploy serverless containers for free
6:33
Beyond Fireship
Рет қаралды 382 М.
React + Servers = Confusion
20:30
Theo - t3․gg
Рет қаралды 39 М.
Industrial-scale Web Scraping with AI & Proxy Networks
6:17
Beyond Fireship
Рет қаралды 690 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН