My First React Component
My First React Component
I got chance to play with one very famous JavaScript library React and play with it. There are two different type of component we can create in React, “Function Component” and “Class Component”. One obvious choice of component style is when we have state or lifecyle we prefer to use “Class Component”.
Here is an example of Function component
const MyFuncComponent(props) { return (Hello from…
View On WordPress














