
Introduction In React, if you want to use a particular data in multiple components, what you would usually do is create the data in the parent component and pass it as a prop to all the children components that need it. import { useState } from 'reac...
React/JS developer
I'm a front-end React/JS developer. I share tips and tricks I learn every day on my journey to becoming a better developer.
Markdown supported · ⌘↵ to post
No responses yet.