Email or username:

Password:

Forgot your password?
Darius Kazemi

At work today I removed the `react-color` color picker widget library from our web app, which is 130kb of JS minified! You know what you can use instead of this in many cases?

<input type="color">

It's a thing!

developer.mozilla.org/en-US/do

16 comments
westbrook

@darius And if you ever needed something more @kulykov will drop this on you for 2.7KB github.com/web-padawan/vanilla So many awesome smoll things that modern web gives us. 🚀

Darius Kazemi

@westbrook @kulykov I love it. 2.7kb seems actually reasonable for this scope of thing

juv3nal

@darius i've never had occasion to need this, but it *is* cool.

[DATA EXPUNGED]
Ricardo Tavares

@darius Last time I tried it you couldn’t paste colors into it.

Boris Schapira

@darius We could possibly improve this situation by empowering the community to educate new developers. I tried something: github.com/casesandberg/react-

tech himbo

@darius tomfoolery like this is why i left frontend

Chris Henrick

@darius at work today I removed React and saved myself from having migraines the rest of the year

Go Up