React Logo
React Logo

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 .

What is React ?

You can find more about React at :

React Docs

My First Post


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 :

1. Class Components

Getting Started with React

Wiki History

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.

What is React ?

According to React official documentation —

“ React is A JavaScript library for building user interfaces ”

So , basically it is a component based library which is used to build User Interfaces ( UI ). The site that you are currently using…

Akash Negi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store