ReactJS is one of the most popular frameworks for building Single-Page Applications. Over the years, the framework has been widely adopted by many organizations and development teams.
As with every framework, things have evolved and new features have been added to the framework.
ReactJS Functional Components is one such feature that has gained a lot of traction over the last few years. Originally, if you had to write a component in React, it was usually an ES6 Class Component. However, with the arrival of React Hooks, the popularity of functional components has increased significantly. And also, their adoption by development teams.
In this video, we will see all the different ways of writing a Functional Component.
1 - The Javascript Function Way
2 - Using Props in functional components
3 - And finally, using simple arrow functions
#ReactJS #ReactJS Tutorial
++++++++++++++++++++++++++++++++++++++++++++++++++++
My General Tech Blog : http://www.progressivecoder.com
My Web Dev Focused Blog : https://www.progressivewebninja.com
My Github URL : https://www.github.com/dashsaurabh
++++++++++++++++++++++++++++++++++++++++++++++++++++