Skip to main content

Posts

Showing posts from June, 2019

Three steps How to Create React Component

Creating a React Component is simple as 123 understanding what is needed to create a react component is essential in App creation. On this post I am going to show you three steps to follow in creating react Component whether class based or functional based. Why am i writing about this  as you already know i have been learning react and the journey has been very interesting with ups and down. My aim is to get you started without having going through a steep learning curve which i went through so that things can be simpler to you as you are going through this journey. For that being said lets roll our shrive and get down into business. React Component can be in two form one is class based and the other functional based all these two kind of Components can fall int stateful or stateless but lets leave this for future post and lets get down on component creation. Step.1 import React from 'react'; while we are creating JavaScript functionality react adds some feature whi...