filmov
tv
How To Create React Components (ReactJS Tutorial)

Показать описание
(We're free online community, meet other makers!)
#react #reactjs #webdev #coding #webdevelopment #programming In this ReactJS tutorial we'll take a look at creating components. There are two different types of React components you can create: functional and class-based. The most recent versions of react support functional components a lot more than they do class-based components (which will still work, but have becoming obsolete after introduction of React Hooks.)
00:00 How to create functional and class-based components in React
00:16 How to create functional component
01:09 How to create class-based component
02:47 How to pass props to react component
03:33 How to destructure props in functional component
#react #reactjs #webdev #coding #webdevelopment #programming In this ReactJS tutorial we'll take a look at creating components. There are two different types of React components you can create: functional and class-based. The most recent versions of react support functional components a lot more than they do class-based components (which will still work, but have becoming obsolete after introduction of React Hooks.)
00:00 How to create functional and class-based components in React
00:16 How to create functional component
01:09 How to create class-based component
02:47 How to pass props to react component
03:33 How to destructure props in functional component