DEV Community

Discussion on: How to make an extremely reusable Tooltip component with React — and nothing else

Collapse
 
jamesncox profile image
James Cox

I love when someone breaks something down you might see from a React component library like Material UI into their own reusable React components. I appreciate the time and effort you took to recreate something that most of us might take for granted. Great work!!

Collapse
 
vtrpldn profile image
Vitor Paladini

Hey, James. Thank you! I think that there is a lot to learn from doing so and it makes me super happy to know that I'm not the only one learning with it 😄

Collapse
 
jamesncox profile image
James Cox

Absolutely! There is always value in "looking under the hood" and recreating how something works. It reminds me of a recent DEV post that recreated common built-in JavaScript functions like map. You got me thinking about what component I could try to recreate. I sort of did that with my side navigation bar in my newest portfolio site, but it's not exactly as reusable as your tooltip!