After building 7437 side projects is FOUNDER MODE! thanks for the explainer i was a bit fuzzy on the difference between them as well.
@rasmic
14 күн бұрын
glad this cleared it up
@codingcode69
11 күн бұрын
Amazing vid. Yeah and by default all next js components are server Components the benefit of having import server only is to avoid accidentally running that component on the client because at the present state of next it will only fire an error in the console but on in the page itself so Its not mandatory to mark a RSC and import seevee only just helps reducing risk of that
@alantelo1877
13 күн бұрын
i dont play the video yet just save to see later, but i give it like because the video will be SUPER !
@Kingaserek
14 күн бұрын
it was a good overview, very informative. My question is , if server actions ("use server") are not to be used for data access, then what are the other major uses for it ?
@rasmic
14 күн бұрын
so data mutation, you want to mutate any data on your DB that's what it's for... just like any post request but not for fetching data or any server only functionality
@codingcode69
11 күн бұрын
Yeah all the normal CRUD operations are great for that since you now don't need to maintain state and onchnage handlers to submit the data and do an on submit you can instead use a server action which receives form data by default so it saves a lot of time and cleaner code imp
@TonyEduardo1
9 күн бұрын
More vids like this fam
@SweepAndZone
14 күн бұрын
Ras!! Bro i love your video's. Just wanted to let you know i got an offer finally after 2 years of work. Still finishing my bachelors as well at WGU. The titles i hold at the new job are software developer/ETL developer. Going to be working with a large amount of new Microsoft tools! Company is worth around 2B. Private held as well. Its a local interstate grocery outlet/retail. Excited to be able to gain more proficiency with NEXTjs on the side, your videos help that process be easier
@rasmic
14 күн бұрын
congrats bro!! keep cooking
@NizzyABI
14 күн бұрын
great vid!
@rasmic
14 күн бұрын
thanks my g
@ronitgurjar5747
14 күн бұрын
ohhh....i did remember reading that on docs, but i did the same mistake you talked about...hmm, thanks man🔥🔥nextjs security 101
@rasmic
14 күн бұрын
thanks for watching g
@cabrelelvis
13 күн бұрын
always great vid thx
@EmblazNOR
14 күн бұрын
Great content! Comment for the algorithm
@rasmic
14 күн бұрын
Legend!
@mahletabebe140
14 күн бұрын
Amazing video!
@rasmic
14 күн бұрын
love you :*
@andreimocanu8732
14 күн бұрын
do you use server only often? in what cases do you use them? thanks
@tedyp3k
13 күн бұрын
It's not just for POST requests bro. server actions are just API under the hood.. client server
@ninjagaskin
11 күн бұрын
Can you use a server action to then call a server only function? is it still save to store env variables inside the “use server” action as long as they’re not props being passed from the client ?
@ninjagaskin
11 күн бұрын
Great content btw! Thank you
@CodeZakk
14 күн бұрын
yeah great video but i've never used or heard about server-only. i use use server and use-client always. in what situation is server-only useful??
@rasmic
14 күн бұрын
any function that I want to use in various server components instead of declaring them within the server component I declare it once with import "server only" and that makes sure that function will never leak anything to the client
Пікірлер: 27