A simple react date picker component

None of the existing react date picker components quite fit my requirements (mostly too bloated with too many dependencies), so I decided to see if I could quickly hack one together. This took a couple of hours, but should meet my needs. Most importantly, it's tiny (~100 LOC) and free…

Disabling specific eslint rules

The create react app eslint presets come with a few rules that are slightly annoying. One of them is jsx-a11y/href-no-hash, which makes sure you don’t add an <a> tag without a valid http address for the href property.To ignore this, add a .eslintrc.js file…

🚫😩 An array of react refs

Apparently you can't store React refs in an array. For some reason they get wiped out, so if you need to store a collection of refs, you have to do something like this (forgive me lord, for I hath sinned):import React from 'react' const collection = ["label 1", "label 2"…