Components in React | Functional Components in React | React Course for Beginners

Publicado el: 26 junio 2023
en el canal de: Parnika Tutorials
266
9

In this video, I have discussed about components in react like functional components and class components
#componentsinreact #parnikatutorials #react

Components are independent and reusable bits of code. They serve the same purpose as JavaScript functions, but work in isolation and return HTML.

Components come in two types, Class components and Function components, in this tutorial we will concentrate on Function components.

A class component must include the extends React.Component statement. This statement creates an inheritance to React.Component, and gives your component access to React.Component's functions.
The component also requires a render() method, this method returns HTML.

A Function component also returns HTML, and behaves much the same way as a Class component, but Function components can be written using much less code, are easier to understand

Props

Components can be passed as props, which stands for properties.

Props are like function arguments, and you send them into the component as attributes.

Social media Links:
Instagram:   / parnikatutorials  
Website: http://parnikatutorials.in/
Email id: parnikatutorials@gmail.com
To get the regular updates:
Telegram link: https://t.me/Parnikatutorials
Facebook: https://m.facebook.com/profile.php?id...
Linkedin:   / parnika-tutorials-a8a9831b2  
Pinterest:   / parnikatutorials0892  
Playlists:
Virtual Coffee with Jagadeesh:
   • VIRTUAL COFFEE WITH JAGADEESH  
Digital Logic Design:
   • Digital Logic Design  
Computer Organization and Architecture:
   • ABOUT PARNIKA TUTORIALS  
C Programming:
   • L 1: WHAT IS AN ALGORITHM AND CHARACT...  
Data Structures:
   • L 1: Uncover the Benefits of Linked L...  

Theory of Computation:
   • ABOUT PARNIKA TUTORIALS  

Compiler Design:
   • ABOUT PARNIKA TUTORIALS  
Operating Systems:    • PROCESS STATE DIAGRAM | LONG TERM, SH...  

Databases:    • ABOUT PARNIKA TUTORIALS  

Computer Networks:
   • ABOUT PARNIKA TUTORIALS  
For GATE PYQs and much more explore:
   / parnikatutorials  


En esta página del sitio puede ver el video en línea Components in React | Functional Components in React | React Course for Beginners de Duración hora minuto segunda en buena calidad , que subió el usuario Parnika Tutorials 26 junio 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 266 veces y le gustó 9 a los espectadores. Disfruta viendo!