Exploring React 19 Features - use() Hook, Actions & More

  Рет қаралды 66,616

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 100
@codelure
@codelure 9 ай бұрын
I think it covered all the stuffs, i think this the only video on youtube which have great content, other videos just making fool without understanding react19. Thanks brad❤
@philippearras8154
@philippearras8154 9 ай бұрын
Thank you Brad. All the work you do !
@brianbeal9206
@brianbeal9206 7 ай бұрын
I'm ready for Traversy radio - I could listen to this dude all day
@psychodelic42
@psychodelic42 9 ай бұрын
you were the pilar of staring my journay of a web dev. Some time now I didn't came to your channel but I'm happy to see you are back in the game!! Lucking sharp mate, hope you are doing well !!!
@webdevluc
@webdevluc 9 ай бұрын
Great video Brad. Thanks for making and sharing it
@AlexanderBelov-y8o
@AlexanderBelov-y8o 9 ай бұрын
Woah man! You are the first one on KZbin to make a tutorial on React 19! You are the GOAT.
@eleah2665
@eleah2665 9 ай бұрын
Brad is still the king. Over 2 million subscribers. Thanks.
@aunghtetlinn6071
@aunghtetlinn6071 2 ай бұрын
This saved me so much time catching up with React 19. Thanks a lot Brad
@r-i-ch
@r-i-ch 9 ай бұрын
Thanks for showing these all instead of the cursory review.
@acidrifrancis15
@acidrifrancis15 9 ай бұрын
You guy are doing tremendous work. i love the way each and every project you drop is giving us insight.
@munna5553
@munna5553 9 ай бұрын
You're are ahead of time😊😊
@bogdanmarian3786
@bogdanmarian3786 9 ай бұрын
Brad is the man! Thank you for your efforts and continuous learning materials!
@ceralguy85
@ceralguy85 9 ай бұрын
Great video Brad, thank you for always support the tech community by sharing this great content
@engsiyad
@engsiyad 9 ай бұрын
I see a lot of Next js staff in the update. Thanks for the update brad.
@matagaralph
@matagaralph 3 ай бұрын
Yeah coz most of the React core dev team are now part of the Nextjs development team at Vercel.
@haciendadad
@haciendadad 9 ай бұрын
Great job on this video! Thanks Brad!!
@SaifulIslam-ql6eb
@SaifulIslam-ql6eb 9 ай бұрын
I'm excited about react compiler.
@abhaykumar9806
@abhaykumar9806 9 ай бұрын
At 33:20, why do you have a id in a input type hidden, when it can be passed from the prop value into the callback addToCart similar to title? I totally understand that you are trying to create an example to use formData inside a child component, but here it looks like an overkill.
@ziggy-dev
@ziggy-dev 9 ай бұрын
Minor thing, 13:09: Regardless of the use() hook, you wouldn't have to `return await res.json()`. (Unless you're using a try/catch)
@lucadifazio2735
@lucadifazio2735 9 ай бұрын
So what's the difference between form action and form onSubmit?
@CodeMouse_222
@CodeMouse_222 26 күн бұрын
Thank you so much for such a clear inresting video! It helps a lot 🤝
@devjourney8583
@devjourney8583 9 ай бұрын
this is great, thank you Brad!
@张宁-v4y
@张宁-v4y 9 ай бұрын
Thank you video Brad
@jamcmich
@jamcmich 6 ай бұрын
I was reading about this the other day. Apparently using subsequent commas in an array is a method for omitting array indices. In different contexts, this method's omitted values will sometimes be read as undefined.
@WanKy182
@WanKy182 9 ай бұрын
33:02 it doesn't look good creating hidden input in order to pass id to formData, why we can't just pass it as param?
@Racine14
@Racine14 9 ай бұрын
Thank you #travesy for this video.
@XviSi0nplays
@XviSi0nplays 9 ай бұрын
eine der besten folgen seit langem
@stephenadeoye8370
@stephenadeoye8370 8 ай бұрын
Thank you so much for sharing this.
@_Blackwolf_01
@_Blackwolf_01 9 ай бұрын
Thanks sir i'm currently learning your DSA course and it iz amazing
@birsingh5388
@birsingh5388 9 ай бұрын
He always makes great videos
@_Blackwolf_01
@_Blackwolf_01 9 ай бұрын
@@birsingh5388 like hitesh sir
@zaibali254
@zaibali254 9 ай бұрын
Can you share link of this course
@larrytron1992
@larrytron1992 9 ай бұрын
I'm really looking forward to React 19. It'll be nice to revisit after spending so long with Next JS
@elpolodiablo5486
@elpolodiablo5486 9 ай бұрын
NextJS is built on top of React.
@abhaykumar9806
@abhaykumar9806 9 ай бұрын
Overall, great video. Worth watching. Thanks for sharing!
@JohnReyBaylen
@JohnReyBaylen 8 ай бұрын
Note: React.useActionState was previously called ReactDOM.useFormState in the Canary releases, but we’ve renamed it and deprecated useFormState. - From React Doc
@BijanProgrammer
@BijanProgrammer 9 ай бұрын
Thank you for this comprehensive video.
@Faatihahmed
@Faatihahmed 9 ай бұрын
Great video as usual. I hope i will my first dev app
@avneet12284
@avneet12284 9 ай бұрын
Nice. I see an example for useTransition in the repo. Would be nice to get a video on it if you get some time.
@Salah-YT
@Salah-YT 9 ай бұрын
thank u so much 🥰👍
@vladoks7965
@vladoks7965 9 ай бұрын
Are you going to make Laravel course on Udemy?
@tahir-uddin-ahmed
@tahir-uddin-ahmed 9 ай бұрын
Really need laravel course.
@rudolfferenckovacs812
@rudolfferenckovacs812 9 ай бұрын
Thank you Brad!
@handsoncoding7693
@handsoncoding7693 9 ай бұрын
Nice one Brad.
@daljeetsingh5127
@daljeetsingh5127 9 ай бұрын
Great video Thanks
@martygo
@martygo 9 ай бұрын
Awesome 🤩.
@Immelstorn
@Immelstorn 9 ай бұрын
In the first example hook use() triggers 4 times and i don't see a way to fix it. Am i missing something? Also to run the code you need to use yarn (npm isn't able to handle conflicts). And manually install experimental versions after it (you will get react/jsx-runtime errors without it)
@jayantsharma2669
@jayantsharma2669 9 ай бұрын
I haven't tried this, but I have this question what if I only want to fetch the data only once, but on every re-render the use hook will fetch the data
@GeraldOlumideBMmagazine
@GeraldOlumideBMmagazine 6 ай бұрын
When using “use” and “ Suspense” for the first and second examples of this video, I can see that you were able to display the data and there is a loading state too with the help of Suspense hook, but how do you handle a case when the post can’t be fetched, how do you show error message back ?
@skverskk
@skverskk 9 ай бұрын
Great new React features. And, great presentation with real example code.
@nro337
@nro337 9 ай бұрын
great video!!
@yman_kh
@yman_kh 9 ай бұрын
Great video Brad. Thanks for making and sharing it. Are you planning to update the react course on your website?
@asifahmed6568
@asifahmed6568 9 ай бұрын
Thank you Brad
@manishkeer8338
@manishkeer8338 9 ай бұрын
Thanks for the video, just have one question how we will handle error cases with use(fetch(...)) and suspense (for API calls)
@PeterSahanaya
@PeterSahanaya 3 ай бұрын
You can warp the Suspense with ErrorBoundary which it's available by npm install react-error-boundary
@danielcornejodev
@danielcornejodev 6 ай бұрын
Brad, in the useExample 1 and 2, I see that you are no longer using a catch method for error handling. Wouldn't you want to keep that in the fetch data call?
@jameskirk5914
@jameskirk5914 9 ай бұрын
brad the GOAT
@abdulsiyadnp
@abdulsiyadnp 9 ай бұрын
Wow, this is a Gem.
@ahmedchouihi
@ahmedchouihi 8 ай бұрын
Thanks Brad for the tutorial , but which course should I have read before this tutorial ? Can you mention one or more of the helpful videos ? Thanks and good luck
@brencancer
@brencancer 9 ай бұрын
Thanks for the effort sir, will React 19 affect React Native?
@alvaro-escalante-naves
@alvaro-escalante-naves 8 ай бұрын
How would you call the fetchData from an onclick event using 'use'?
@ceralguy85
@ceralguy85 9 ай бұрын
Brad there is an error related with a conflict between react-router-doom and react experimental version. Do you know which version of react-router-dom we need to install ?
@jesse-c5y
@jesse-c5y 4 ай бұрын
i think tanstack useQuery is still superior for fetching data but i do like that 'use' can be used inside a conditional which has bugged me a lot with previous react where i'm forced to load data i don't need because of that no condition rule
@mayankomar1616
@mayankomar1616 6 ай бұрын
how do we handle Errors using usehook
@xzex2609
@xzex2609 6 ай бұрын
the repository can not be cloned : experimental versions had problem can we install react 19 instead ?
@PeterScream
@PeterScream 8 ай бұрын
nothing wrong with the longer videos mate
@harsimothukuri155
@harsimothukuri155 9 ай бұрын
Brad u r my motivation
@alexdin1565
@alexdin1565 9 ай бұрын
Thanks for this videos as always best content please I have a question can we use Next Js with Django?
@Zeeshan-oi1vj
@Zeeshan-oi1vj 9 ай бұрын
Great video, skipping unnecessary part was good
@michaelcyber4584
@michaelcyber4584 9 ай бұрын
Great 🎉
@gametechz_
@gametechz_ 7 ай бұрын
not able to import use hook. Can anyone help ? How can i use it in my react 19 project
@s1n7ax
@s1n7ax 2 ай бұрын
Nice
@doug774
@doug774 9 ай бұрын
Awesome
@2pacgamer
@2pacgamer 8 ай бұрын
Thx :)
@IDOGADAN
@IDOGADAN 4 ай бұрын
Please do authentication with react please
@lakshyarajdash
@lakshyarajdash 9 ай бұрын
Hey Brad I want you to make a video on MEAN stack. I want to make my portfolio website using MEAN stack.❤
@HousseinDroubi-o9i
@HousseinDroubi-o9i 6 ай бұрын
Hey man,
@cusematt23
@cusematt23 9 ай бұрын
Does anyone know the "official" production release of react 19? Apols if i missed in video.
@amiracademy464
@amiracademy464 9 ай бұрын
@OCEMTechZone
@OCEMTechZone 9 ай бұрын
🎉
@CeezGeez
@CeezGeez 9 ай бұрын
14:33 lolol
@sanukjoseph
@sanukjoseph 9 ай бұрын
💓
@abddulrahmanas
@abddulrahmanas 9 ай бұрын
Is it worth learning React while there are "better" ones like Vue.js and Svelte? It seems everyone hates React and Next.js.
@QuadLead
@QuadLead 9 ай бұрын
Laravel (:
@skzahirulislam2820
@skzahirulislam2820 9 ай бұрын
1st
@kim92se64
@kim92se64 9 ай бұрын
24
@Chris-qg6kc
@Chris-qg6kc 9 ай бұрын
What is the point of the react team pushing nextjs if they would continue to make updates? Next has eaten their lunch already
@bla4224
@bla4224 6 ай бұрын
Informational: yes, good, thanx. Code style: terrible. E.g. you say, "writing a function" but actually you declare a constant, which refers to an anonymous function. Strange. Why do you not write `function blabla() {}'? Declaring everything as a const is certainly allowed, but hurts readability and proper understanding of the code tremendously. Also hard-coding the view (e.g. using the tailwind non-sense) is - not only IMHO - bad style (and actually wrt. this demos absolute overhead, not needed at all, disturbing). Giving a component 1 or 2 proper class names or/and ID is sufficient to write a proper CSS detached from the actual code, like in a separate css file using standard CSS selectors and thus giving users (and yourself) a chance to re-style the pages in an efficient and easy way. One can see in your demos, what a bloat the tailwind usage already creates - and these are small examples, only ...
@abhaykumar9806
@abhaykumar9806 9 ай бұрын
Funny, I tried to create a vite using typescript and I am not able to do `npm i -D @types/react@experimental @types/react-dom@experimental`. Any idea how can I do that @brad? When I specify the exact experimental version, I am only able to install the @types/react, but not @types/react-dom. And that is also not working
@akoskm
@akoskm 9 ай бұрын
Hey, I think I can help you out here! I made a video about setting up React 19 with Vite, including the types! kzbin.info/www/bejne/npSWiIaEnZKBbNksi=Q8GePu8elPg8KDr3 let me know if you need more help with this!!
@wanai9062
@wanai9062 8 ай бұрын
You can view the comments for this file `types/react/ts5.0/canary.d.ts` on `@types/react`
@akoskm
@akoskm 8 ай бұрын
There's an alternative way to add the canary version by going to the npm website searching for react, and picking a version with the canary tag. I made a short video about how you can do this: kzbin.info/www/bejne/npSWiIaEnZKBbNk
@tomm5765
@tomm5765 8 ай бұрын
The canary types are in the regular @types/react package to enable them modify your tsconfig.json and add "types": ["react/canary"]. Haven't tried with experimental, maybe just react/experimental
@abddulrahmanas
@abddulrahmanas 9 ай бұрын
Is it worth learning React while there are "better" ones like Vue.js and Svelte? It seems everyone hates React and Next.js.
@yousufhossain9768
@yousufhossain9768 9 ай бұрын
next js is amazing what are you talking about
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 493 М.
What's new in React 19 | Lydia Hallie
20:04
React Conf
Рет қаралды 52 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 241 М.
Learn TypeScript with this Fun Drag-and-Drop Todo App | Part 1
2:29:58
Every React 19 Feature Explained in 8 Minutes
7:35
Code Bootcamp
Рет қаралды 147 М.
Microservices Crash Course & Moleculer JS Intro
38:54
Traversy Media
Рет қаралды 45 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 10 М.
React 19 is finally out!
28:01
Theo - t3․gg
Рет қаралды 69 М.
What’s New in React 19: Exploring Actions, use(), Compiler, and more
1:07:57
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 751 М.
This New React Hook Breaks All The Rules And I Love It
7:56
Web Dev Simplified
Рет қаралды 185 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН