Functional Components
1)Functional components are basic JavaScript functions. These are typically arrow functions but can also be created with the regular function keyword.
2)Sometimes referred to as “dumb” or “stateless” components as they simply accept data and display them in some form; that is they are mainly responsible for rendering UI.
3)React lifecycle methods (for example, componentDidMount) cannot be used in functional components.
4)There is no render method used in functional components.
5)These are mainly responsible for UI and are typically presentational only (For example, a 6)Button component).
7)Functional components can accept and use props.
8)Functional components should be favored if you do not need to make use of React state.
Click here for ReactJS Tutorial Playlist :
ReactJS Tutorial - 2 - NPM VS NPX - Tools Required - My First Project 🔥🔥 click here
**Click here to installed Node :
**Click here to installed VS code :
**Important Commands :
1)Node Version Check : npm - v
2)Npm & npx Version Check : npx/npm -v
**Create react app using npx : npx create-react-app reactproject
**Create react app using npm :
1)npm install -g create-react-app
2)create-react-app reactproject
ReactJS Tutorial - 1 - Introduction 🔥🔥 click here :
React is an open source javascript library for building user interfaces.
React is a project created and maintained by Facebook.
React has more than a 100 thousand stars on GitHub and a huge community behind it.
React has become increasingly
popular among developers and is also one of the most sought out skill-sets by companies right now.
React has a component based architecture. This lets you break down your application into small encapsulated parts which can then be composed to make more complex UI.
React is declarative.
React will make it painless for you to create complex UIs by abstracting away the difficult parts.
React will handle efficiently updating and rendering just the right components in your application when your data changes.
DOM updates which is one of the more expensive operations is handled gracefully in React.
Web Hosting Service by Technical Suneja | @449 , @649 for 1 Year along with Extra Features
If you are planning to host your website in very decent amount please click here to fill this from :
Want to know about upcoming hot social topics ?
Click here :
#ReactJS #FunctionalComponent #TechnicalSuneja
0 Comments