Tag: Presentational Components
-
React Functional Components with Hooks vs Class Components
What is React Component? A component is usually defined as a function of its state and props. Its a same as JavaScript function, but work in isolation and returns HTML code via Render function. React is a component based framework, it supports two type of components, namely class component and functional component. It’s really confusion…