DEV Community

Discussion on: Building a simple Colour Picker in React from scratch

Collapse
 
yaireo profile image
Yair Even Or • Edited

There is no logic in building color picker in React because you are putting a lot of effort in something which can only fit a single eco-system (React)

I am the author of a very good color minimal picker, and almost all my components in vanilla JS so they could be used in any framework

npmjs.com/package/@yaireo/color-pi...

Since this component is most-likely meant to be rendered as a popup, it can be easily integrated with existing React code, since the rendered output is injected to the <body> level

Collapse
 
daniel4lm profile image
Daniel Molnar

Really one of the dumbest answer...

Collapse
 
yaireo profile image
Yair Even Or

How so? explain to me the benefic on investing a ton of time for something so basic which is now locked-in to only be used in a single ecosystem?

In what way do you find this to be "the dumbest"?