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

  Рет қаралды 68,592

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 102
@codelure
@codelure 10 ай бұрын
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 10 ай бұрын
Thank you Brad. All the work you do !
@brianbeal9206
@brianbeal9206 8 ай бұрын
I'm ready for Traversy radio - I could listen to this dude all day
@eleah2665
@eleah2665 10 ай бұрын
Brad is still the king. Over 2 million subscribers. Thanks.
@webdevluc
@webdevluc 10 ай бұрын
Great video Brad. Thanks for making and sharing it
@psychodelic42
@psychodelic42 10 ай бұрын
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 !!!
@AlexanderBelov-y8o
@AlexanderBelov-y8o 10 ай бұрын
Woah man! You are the first one on KZbin to make a tutorial on React 19! You are the GOAT.
@aunghtetlinn6071
@aunghtetlinn6071 3 ай бұрын
This saved me so much time catching up with React 19. Thanks a lot Brad
@CodeMouse_222
@CodeMouse_222 Ай бұрын
Thank you so much for such a clear inresting video! It helps a lot 🤝
@acidrifrancis15
@acidrifrancis15 10 ай бұрын
You guy are doing tremendous work. i love the way each and every project you drop is giving us insight.
@bogdanmarian3786
@bogdanmarian3786 10 ай бұрын
Brad is the man! Thank you for your efforts and continuous learning materials!
@ceralguy85
@ceralguy85 10 ай бұрын
Great video Brad, thank you for always support the tech community by sharing this great content
@munna5553
@munna5553 10 ай бұрын
You're are ahead of time😊😊
@r-i-ch
@r-i-ch 10 ай бұрын
Thanks for showing these all instead of the cursory review.
@haciendadad
@haciendadad 10 ай бұрын
Great job on this video! Thanks Brad!!
@SaifulIslam-ql6eb
@SaifulIslam-ql6eb 10 ай бұрын
I'm excited about react compiler.
@ziggy-dev
@ziggy-dev 10 ай бұрын
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)
@engsiyad
@engsiyad 10 ай бұрын
I see a lot of Next js staff in the update. Thanks for the update brad.
@matagaralph
@matagaralph 4 ай бұрын
Yeah coz most of the React core dev team are now part of the Nextjs development team at Vercel.
@abhaykumar9806
@abhaykumar9806 10 ай бұрын
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.
@Racine14
@Racine14 10 ай бұрын
Thank you #travesy for this video.
@devjourney8583
@devjourney8583 10 ай бұрын
this is great, thank you Brad!
@abhaykumar9806
@abhaykumar9806 10 ай бұрын
Overall, great video. Worth watching. Thanks for sharing!
@jamcmich
@jamcmich 7 ай бұрын
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.
@larrytron1992
@larrytron1992 10 ай бұрын
I'm really looking forward to React 19. It'll be nice to revisit after spending so long with Next JS
@elpolodiablo5486
@elpolodiablo5486 10 ай бұрын
NextJS is built on top of React.
@stephenadeoye8370
@stephenadeoye8370 9 ай бұрын
Thank you so much for sharing this.
@WanKy182
@WanKy182 10 ай бұрын
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?
@BijanProgrammer
@BijanProgrammer 10 ай бұрын
Thank you for this comprehensive video.
@Salah-YT
@Salah-YT 10 ай бұрын
thank u so much 🥰👍
@lucadifazio2735
@lucadifazio2735 10 ай бұрын
So what's the difference between form action and form onSubmit?
@_Blackwolf_01
@_Blackwolf_01 10 ай бұрын
Thanks sir i'm currently learning your DSA course and it iz amazing
@birsingh5388
@birsingh5388 10 ай бұрын
He always makes great videos
@_Blackwolf_01
@_Blackwolf_01 10 ай бұрын
@@birsingh5388 like hitesh sir
@zaibali254
@zaibali254 10 ай бұрын
Can you share link of this course
@avneet12284
@avneet12284 10 ай бұрын
Nice. I see an example for useTransition in the repo. Would be nice to get a video on it if you get some time.
@张宁-v4y
@张宁-v4y 10 ай бұрын
Thank you video Brad
@Faatihahmed
@Faatihahmed 10 ай бұрын
Great video as usual. I hope i will my first dev app
@GeraldOlumideBMmagazine
@GeraldOlumideBMmagazine 7 ай бұрын
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 ?
@manishkeer8338
@manishkeer8338 10 ай бұрын
Thanks for the video, just have one question how we will handle error cases with use(fetch(...)) and suspense (for API calls)
@PeterSahanaya
@PeterSahanaya 4 ай бұрын
You can warp the Suspense with ErrorBoundary which it's available by npm install react-error-boundary
@yman_kh
@yman_kh 10 ай бұрын
Great video Brad. Thanks for making and sharing it. Are you planning to update the react course on your website?
@Immelstorn
@Immelstorn 10 ай бұрын
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 10 ай бұрын
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
@ahmedchouihi
@ahmedchouihi 9 ай бұрын
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
@skverskk
@skverskk 10 ай бұрын
Great new React features. And, great presentation with real example code.
@danielcornejodev
@danielcornejodev 7 ай бұрын
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?
@XviSi0nplays
@XviSi0nplays 10 ай бұрын
eine der besten folgen seit langem
@rudolfferenckovacs812
@rudolfferenckovacs812 10 ай бұрын
Thank you Brad!
@vladoks7965
@vladoks7965 10 ай бұрын
Are you going to make Laravel course on Udemy?
@tahir-uddin-ahmed
@tahir-uddin-ahmed 10 ай бұрын
Really need laravel course.
@brencancer
@brencancer 10 ай бұрын
Thanks for the effort sir, will React 19 affect React Native?
@daljeetsingh5127
@daljeetsingh5127 10 ай бұрын
Great video Thanks
@jesse-c5y
@jesse-c5y 5 ай бұрын
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
@alvaro-escalante-naves
@alvaro-escalante-naves 9 ай бұрын
How would you call the fetchData from an onclick event using 'use'?
@JohnReyBaylen
@JohnReyBaylen 9 ай бұрын
Note: React.useActionState was previously called ReactDOM.useFormState in the Canary releases, but we’ve renamed it and deprecated useFormState. - From React Doc
@mayankomar1616
@mayankomar1616 7 ай бұрын
how do we handle Errors using usehook
@handsoncoding7693
@handsoncoding7693 10 ай бұрын
Nice one Brad.
@alexdin1565
@alexdin1565 10 ай бұрын
Thanks for this videos as always best content please I have a question can we use Next Js with Django?
@xzex2609
@xzex2609 7 ай бұрын
the repository can not be cloned : experimental versions had problem can we install react 19 instead ?
@gametechz_
@gametechz_ 8 ай бұрын
not able to import use hook. Can anyone help ? How can i use it in my react 19 project
@asifahmed6568
@asifahmed6568 10 ай бұрын
Thank you Brad
@nro337
@nro337 10 ай бұрын
great video!!
@ceralguy85
@ceralguy85 10 ай бұрын
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 ?
@martygo
@martygo 10 ай бұрын
Awesome 🤩.
@abdulsiyadnp
@abdulsiyadnp 10 ай бұрын
Wow, this is a Gem.
@jameskirk5914
@jameskirk5914 10 ай бұрын
brad the GOAT
@Zeeshan-oi1vj
@Zeeshan-oi1vj 10 ай бұрын
Great video, skipping unnecessary part was good
@PeterScream
@PeterScream 9 ай бұрын
nothing wrong with the longer videos mate
@IDOGADAN
@IDOGADAN 5 ай бұрын
Please do authentication with react please
@lakshyarajdash
@lakshyarajdash 10 ай бұрын
Hey Brad I want you to make a video on MEAN stack. I want to make my portfolio website using MEAN stack.❤
@boundless_nomad
@boundless_nomad 26 күн бұрын
as of now after stable relaease i am getting refecting data even i copy paste original code hope someone will respond "use" hook making repeated fetch operations without rendering data just getting "loading" msgs and on while debug its too many fetch operations
@harsimothukuri155
@harsimothukuri155 10 ай бұрын
Brad u r my motivation
@michaelcyber4584
@michaelcyber4584 10 ай бұрын
Great 🎉
@doug774
@doug774 10 ай бұрын
Awesome
@2pacgamer
@2pacgamer 9 ай бұрын
Thx :)
@s1n7ax
@s1n7ax 3 ай бұрын
Nice
@HousseinDroubi-o9i
@HousseinDroubi-o9i 7 ай бұрын
Hey man,
@cusematt23
@cusematt23 10 ай бұрын
Does anyone know the "official" production release of react 19? Apols if i missed in video.
@OCEMTechZone
@OCEMTechZone 10 ай бұрын
🎉
@amiracademy464
@amiracademy464 10 ай бұрын
@sanukjoseph
@sanukjoseph 10 ай бұрын
💓
@CeezGeez
@CeezGeez 10 ай бұрын
14:33 lolol
@abddulrahmanas
@abddulrahmanas 10 ай бұрын
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 10 ай бұрын
Laravel (:
@kim92se64
@kim92se64 10 ай бұрын
24
@skzahirulislam2820
@skzahirulislam2820 10 ай бұрын
1st
@notchraiser4246
@notchraiser4246 8 күн бұрын
useOptimistic is quite confusing explaination
@Chris-qg6kc
@Chris-qg6kc 10 ай бұрын
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 7 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
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 9 ай бұрын
You can view the comments for this file `types/react/ts5.0/canary.d.ts` on `@types/react`
@akoskm
@akoskm 9 ай бұрын
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 9 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
next js is amazing what are you talking about
React Crash Course 2024
3:04:36
Traversy Media
Рет қаралды 700 М.
Microservices Crash Course & Moleculer JS Intro
38:54
Traversy Media
Рет қаралды 46 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
React Hook Form & React 19 Form Actions, The Right Way
16:08
Jack Herrington
Рет қаралды 63 М.
React 19 is finally out!
28:01
Theo - t3․gg
Рет қаралды 78 М.
React 19: The Latest Features You Actually Want
13:05
Shruti Kapoor
Рет қаралды 4,7 М.
What’s New in React 19: Exploring Actions, use(), Compiler, and more
1:07:57
This New React Hook Breaks All The Rules And I Love It
7:56
Web Dev Simplified
Рет қаралды 187 М.
I Cannot Believe React Made A Hook For This
8:45
Web Dev Simplified
Рет қаралды 108 М.
What's new in React 19 | Lydia Hallie
20:04
React Conf
Рет қаралды 56 М.
Forms with React 19 and Next.js
9:13
leerob
Рет қаралды 40 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 498 М.
All React Hooks Explained - React Hooks Tutorial 2025
1:28:44
PedroTech
Рет қаралды 16 М.