Build a CRUD App in React
 
       Create React App      We'll start by installing the project with  create-react-app  (CRA)  npx create-react-app react-hooks  Then run  npm i .   Now you're all set with the React.      Initial Setup   Let's start off by clearing out all the files from the boilerplate we don't need. Delete everything from the  /src  folder except  App.js ,  index.js , and  index.css .   In  index.js , we'll simplify it by removing the references to Service Workers.      index.js   import  React from  'react'  import  ReactDOM from  'react-dom'  import  './index.css'  import  App from  './App'   ReactDOM . render ( < App  /> ,  document . getElementById ( 'root' ) )  And in  App.js , I'll make a simple, functional component for  App  instead of a class.     App.js   import  React from  'react'   const  App  =  ( )  =>  {    return  (      < div  className = " container " >        < h1 > CRUD App ...