How do you create "class" component in React? code example
Example: create-react-app class component
npx create-react-app my-app --scripts-version react-scripts@2.1.7
npx create-react-app my-app --scripts-version react-scripts@2.1.7