Main

Add SubTypes in State | Part-9 | Learn React from Scratch | React Framework Tutorial | Front End

Welcome you to another new series - React Framework. React is an open source front-end library to build UI. And as you all must be aware that React is being used widely and have multiple job opportunities, this series is going to be very helpful for anyone seeking opportunities in the same. This is the first part of Event Handling. Today in this video, I will be adding some subtypes for state to apply event handling in react application. Let's look into it in a bit more detail. Course link : https://www.udemy.com/course/all-about-react-from-scratch Thanks for watching!!! Hope you find it useful. Don't forget to like, comment, share, and subscribe to my channel @misstechack :) Keep learning, keep growing!!! Website - https://letsunderstandjava.com Instagram - http://instagram.com/misstechack Facebook - http://facebook.com/misstechack Youtube - https://www.youtube.com/channel/UCpIueiXyq5nhTJTDuw2DQnA Blog - https://websitechef.blogspot.com/ https://sanitizeyoursoul.com/ Udemy Courses - https://www.udemy.com/course/get-started-with-blogging-from-scratch/ https://www.udemy.com/course/top-10-java-interview-programs/ https://www.udemy.com/course/hibernate-basics/ https://www.udemy.com/course/all-about-react-from-scratch/ Tags: react, react tutorial, how react works, react events, event handling, #reacttutorial #eventhandling #react #reactframework

MissTecHack

4 days ago

Hey, How are you doing?  Welcome to Miss TecHack! Now, we will see Event Handling in React. This is  the first part of Event Handling. Today in this video, I will be adding some subtypes for state  to apply event handling in react application. Before we go ahead, make sure to subscribe to  Miss tecHack, so you don't miss on any of our updates and latest videos. So lets get started. For this purpose, lets add a new folder in  assets as birds and move bird images inside it. Now under the species s
tate, lets add some  types to birds. Let's add a new Row in MenuComponent and add the types in similar  way as species were added using mapping. To display the types we will use Card Component  that will show the image and type name. All these components are being used  from reactstrap. Again we got the same error as we have only added type for one  specie, so lets comment rest and check. As you can see bird types are updated, similarly  I have added types for rest of them as well. Here you can
see the result, we have  everything aligned properly. So, we have successfully added the subtypes  in state in our react application. That's it for this video.  I hope you find it useful. For any queries or concerns, write  me down in the comment section. Thankyou so much! Have a great day!

Comments