Render Props and Hooks
Quickstart
npm i
npm start
The code in App.js
is the hooks version. You can import the component from Classes.js
to see the class version using Render Props.
Render Props & Hooks
npm i
npm start
The code in App.js
is the hooks version. You can import the component from Classes.js
to see the class version using Render Props.
Render Props & Hooks