- Видео 9
- Просмотров 33 454
Kchai Programming
Индия
Добавлен 4 июл 2020
Programming tutorials on Web Development
How to use React Router? Router Hooks - Part 4
How to use react router and router hooks? In this video, we will complete building Rick and Morty application using React Router hooks.
Chapters:
00:00 Building Location Page
02:50 Building Location Component
05:30 Building Location details Page - 1
06:20 useHistory hook
06:50 useRouteMatch hook
07:00 Building Location details Page - 2
11:00 Fetching residents details
14:20 Connecting characters and locations
15:40 Connecting locations and characters
16:40: Wubba lubba dub dub
React Powerhouse
React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users.
🎞 React Router Playlist - ruclips.net/p/PLXMmuWDkkRq9sdxT...
Chapters:
00:00 Building Location Page
02:50 Building Location Component
05:30 Building Location details Page - 1
06:20 useHistory hook
06:50 useRouteMatch hook
07:00 Building Location details Page - 2
11:00 Fetching residents details
14:20 Connecting characters and locations
15:40 Connecting locations and characters
16:40: Wubba lubba dub dub
React Powerhouse
React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users.
🎞 React Router Playlist - ruclips.net/p/PLXMmuWDkkRq9sdxT...
Просмотров: 508
Видео
How to use React Router? Router Hooks - Part 3
Просмотров 1,1 тыс.4 года назад
How to use react router and router hooks? In this video, we will start building Rick and Morty application using React Router hooks. Chapters: 00:00 Refactoring Components and Pages 03:11 Building Characters Page 05:40 Building Characters Component 08:20 useHistory hook 09:50 useRouteMatch hook 10:55 Building Character Details Page 12:30 useParams hook 13:00 Building Character Details Page Reac...
How to use react router? Primary Components - Part 2
Просмотров 5394 года назад
How to use react router? In this video, we will discuss primary components in react router library. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users. Chapters: 00:00 Introduction 00:20 Creating Components 01:28 Primary Component - Route 02:25 Primary Component - Route Matche...
How to create routes using hooks? - React Router - Part 1
Просмотров 7594 года назад
How to create routes using hooks? In this video, we will discuss how routing works in single page applications. We will be going through an overview of the project that we will be building through this course. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users. Chapters: 0:00 ...
How to create Reusable React Forms? JSON Hooks forms - Part 5
Просмотров 22 тыс.4 года назад
How to create Reusable React Forms? In this video, we will use React hook form to create Form component that renders form using JSON. This short series explains everything you need to know to manage forms in React for any use-case. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React ...
Best library to create forms in React? - Formik, React-hook-form - React Forms - Part 4
Просмотров 4 тыс.4 года назад
What is the best library to create forms in React? In this video, we will explore Formik and React-hook-form. This short series explains everything you need to know to create forms in React for any use-case. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users. 📄 Check out the c...
How to create dynamic forms with controlled components - React Forms - Part 3
Просмотров 1,1 тыс.4 года назад
How to create dynamic forms in React? In this video, we will explore how you can create dynamic forms using controlled components. This short series explains everything you need to know to create forms in React for any use-case. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React use...
How to create dynamic forms with uncontrolled components - React Forms - Part 2
Просмотров 1,4 тыс.4 года назад
How to create dynamic forms in React? This short series explains everything you need to know to create forms in React for any use-case. In this video, we will explore how you can create dynamic forms using uncontrolled components. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React u...
How to create forms in React - Part 1
Просмотров 2,3 тыс.4 года назад
How to create forms in React? This short series explains everything you need to know to create forms in React for any use-case. In this video, we will explore Uncontrolled and Controlled components. React Powerhouse React powerhouse is a series that shows you how you can create powerful web applications using React. This series is for moderate to advanced React users. 📄 Check out the complete p...
very informative
Thanx
wonderful ❤
awesome lessons, thanks a lot)))
Not usable with react hook form 7.
react hook form update: From: <input type='text' name='name' id="my_text" ref={register} /> To: <input type='text' id="my_text" {...register("name")} />
Thank you this was so helpful 💜
You are awesome! Explain stuff in a straight forward manner. There are a LOT of people like me that are very grateful for the hard work you put into teaching and sharing your knowledge. Hit important details without diving into the minutia of how "everything works under the abstraction". Thank you and please keep it going. It won't happen quickly, but this will come back to you 100 fold in success and happiness.
How can I do this for a password confirmation when both have the case 'password'?
Thank you for sharing
doesn't work
Thanks!
Excellent video, dude! Congrats!
The editing and your explanation are great, keep it up! Abraço do Brasil! God bless you!
Great video. How can I use multiselect and select component with backend api to call?
For select and multiselect, you can have two additional fields, options and selectedOptions.. options would be an array, you can loop through them and render options, selectedOptions would be an array of strings or a string based on multiselect or select
In a Django Rest Framework API when you use OPTIONS method you'll get a response like: { "name": "Table", "description": "", "renders": [ "application/json", "text/html" ], "parses": [ "application/json", "application/x-www-form-urlencoded", "multipart/form-data" ], "actions": { "POST": { "id": { "type": "integer", "required": false, "read_only": true, "label": "ID" }, "name": { "type": "string", "required": true, "read_only": false, "label": "Name", "max_length": 50 }, } } } } Would I be able to do something similar to get the fields of objects in "actions. POST" in this more dynamic way? Since it's not an array I think i can't do table.map() for example
The keys of object POST seems off, but still, you can use Object.keys to loop through keys and access elements using actons.POST[key] or you can just loop thourgh values using Object.values
Version 6.X.X: <input ref={register({ required: true })} name="test" /> Version 7.0.X: <input {...register('test', { required: true })} />
{2022-03-11}
A very informative tutorial on creating re-usable React Forms using React-Hook-Form Library. Thanks very much. {2022-03-11}
{2022-03-11}
{2022-03-11}
{2022-03-11}
{2022-03-11}
Great Tutorial introducing Forms in React. Thanks {2022-03-10}
I think there had been some changes for ref since the video and now validationProps don't work, having problems rendering errors, anybody has a solution?
Looks like v7 of react-hook-form migrated from using refs.. you can just spread properties on register. You can see this here - react-hook-form.com/migrate-v6-to-v7/
@@kchaiprogramming6179 can you please provide the updated code for validationProps, I tried all the way but not able to get the right output.
Great 👍
This was really great and helpful, thanks so much!
Thank you for this amazing explanation
Thank you :)
Thanks...its very helpful
Hi! This was a wonderful video, however is it possible if you also show us how to integrate the select tag in it? Thanks in advance!
fantastic , please upload more videos
Planning to upload more videos soon
My friend, I am a senior IT kind of person. Spent more than three decades in IT. The reason I am saying this, to establish the importance of what I am going to say. First - Wonderful and precise content - Thinking abstract out of the box are very few. After a long time I found one - it is you. I really enjoyed this journey of watching your video. But I was not happy to see the subscribers you got? Probably there is a mistake on your side as well. Then content in this video are really good but can be appreciated only by experienced people quickly. This means, you have to make contents for newbies running basics Piece by piece. We all know Koushik of Javabrains. Trust me, I enjoyed your video as if I am watching him on the show. Try to prepare some basic contents but don't miss to release dense contents like this - otherwise we may fly away :). You have good time ahead. make it natural and keep going.
I really appreciate him. As you said it's for experienced people level of explanation. To get more subscribers and view, You have to explain little more detail but not too lengthy like UDEMY however i really loved it.
Hi Kchai! thank's for the video :-) for the CSS part, did you use a library like Bootstrap ?
Yup.. I used Materialize - materializecss.com/
@@kchaiprogramming6179 ok great ^^ thank you 👍
Cool. Could you show CRUD operations in the form and save it in a table grid within a page and backed as google firestore. Thanks
Could you please create a tutorial on multi-stage forms, with logic
Awesome. Could share how we can use css to align two or three fields in the same row?
Nice video, congratulations for the great content. I have a question I hope you can help me, I have a invoice form that need a detailed list but I build this detail from another component external to this form how can o validate that details have data and send the array of data with the submit form? Thanks 🤓
You can make these checks at onSubmit function of your form.. alternatively.. you can send array of validations as a prop to your component, whenever onSubmit is fired, you can perform these validations
Thanks for this video!
Thank you.
Good explanation, Thank you.
Its amazing seriously yr I share this channel and all video link to my whole company and also biggners
Thank you so much :) This made my day
Maybe you would create a <Input /> and pass all props to them. Another thing u didn't think about is textarea, select, and the data within radio and checked buttons, useState has a strange behavior when you check and uncheck them. What about all other html inputs attr? Data Picker, file, button? I think creating a switch case for each one is kind bad, idk. Just my opinion, maybe adding custom hooks for validation would be easier.
The example I showed above relies on react-hook-form which is used to create uncontrolled components. So, there is no need to rely on hooks or react state. You need to create similar case statements for all the other elements and for props you can create "props" filed in JSON and can spread it on element , but, this is just a one time activity. This approach is really useful when you have to dynamically control everything using only JSON. This JSON can be dynamically generated from the server and you can manipulate the form fields. If you don't have such use-case then this definitely is an overkill.
thanks for the resource..Very very good!!
Thank you so much :)
Good stuff
Thank you for your straight forward explanation. But when will I have to use uncontrolled form instead of controlled form?
There are cases where you might deal with huge forms. Forms with around 50+ fields. In such cases, uncontrolled forms perform better
Thanks for the video. I love it.
keep it up.
Thanks a lot
Hey, can you please tell which framework is best for mobile applns react native or flutter if flutter can you make videos on flutter? Love your work♥️♥️
I think both are amazing. I am biased towards React Native coz of JavaScript. But, I am definitely interested in flutter and will make videos on it.
Thanks for this nice and very important tutorial.
Thanks a ton
Here's the link for the source code - github.com/ChaitanyaKaranam/react-powerhouse