So ,in this post we will start by learning more about Components as well as types of Components in React . Finally ,we will be building a Simple Counter App .
You can find more about React at :
Components are like functions that return HTML elements. Components can be thought of as code fragments or building blocks for web page . Components are independent, small pieces of code which are reusable .
There are two types of components in React Library :
React was created by Jordan Walke, a software engineer at Facebook, who released an early prototype of React called “FaxJS”. He was influenced by XHP an HTML component library for PHP . It was first deployed on Facebook’s News Feed in 2011 and later on Instagram in 2012. It was open-sourced at JSConf US in May 2013.
According to React official documentation —
So , basically it is a component based library which is used to build User Interfaces ( UI ). The site that you are currently using…