Tag Archives: component

Class component vs functional component

In React Native mainly two types of components Class Component & Functional Component.  Class components are ECMAScript2015(ES6) that extend a base class from React called Component. It is used as a container component to handle state management. Before introducing the concept of hooks in React 16.8 functional component is a plain javascript function but after Continue Reading »