[1, 2, 10].sort() // [1, 10, 2] Is this a bug?
My useEffect with an empty dependency array fires twice on mount, so my analytics event is sent twice. Is my component mounting twice?
I have a grid with grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)). When the last row has fewer items they keep their column width. I want them to stretch across the remaining space. Possible with grid alone?
I need a regular expression that accepts #fff and #1a2b3c but not #12 or #ggg.
::-webkit-scrollbar does nothing in Firefox. Is there an alternative?
What is the modern way to centre a box inside its parent both ways?