
#8 React Component - Create Component - Types of Component - Example
Welcome to React Basic to Pro Series Day 8.
What is discussed today -
What is Component
- Minimal Part of UI
- Reusable Part of UI
- Independent
- Acts Like JS Function, return HTML element
Why React Use Component
- To Make Code Maintainable
- To make Code Separated, Reusable
Make A Component
- Create Class as Previous Convention &
- Export to Component & Use this as HTML Code
Two Types of Component
- Class Base Component &
- Functional Component
- Example of Both Component
Real-Life Scenarios Implementation of Component for an Ecommerce Project
Code Example With Preview [Click Sidebar Toggle Icon to view Code] -
Download Source Code -
https://github.com/ManiruzzamanAkash/ReactBasic2Pro/tree/Day8
Video Source:
Previous
#4 - let vs const vs var - Clear the ES6 concepts and makes simpler path to learn React
#4 - let vs const vs var - Clear the ES6 concepts and makes simpler path to learn React
Next
Higher Order Component in React - In depth discussion about React HOC
Higher Order Component in React - In depth discussion about React HOC
React Js
All Tutorials in this playlist
Popular Tutorials
Categories
-
Bash Scripting
1
-
Bootstrap CSS
0
-
C Programming
8
-
C#
0
-
ChatGPT
1
-
Code Editor
2
-
CSS
2
-
Design Pattern in PHP
2
-
E-Book
1
-
Git Commands
1
-
HTML
3
-
Interview Prepration
2
-
Java Programming
0
-
JavaScript
11
-
Laravel PHP Framework
36
-
Mysql
1
-
Node JS
1
-
Online Business
0
-
PHP
28
-
Programming
7
-
React Js
19
-
React Native
1
-
Redux
2
-
Tailwind CSS
1
-
Uncategorized
0
-
Vue JS
1
-
Windows Operating system
1
-
Woocommerce
1
-
WordPress Development
2