Introducing Downshift for React
19 Oct 2017Introducing Downshift for React
downshift 🏎 is the primitive you need to build simple, flexible, WAI-ARIA compliant React autocomplete/typeahead/dropdown/select/combobox/etc (AKA “item selection”) (p)react ⚛️ components.
Tha article calls out two interesting patterns for building reusable components that I’m seeing more of:
- The “Function as Child” (or render callback) pattern.
- The “Controlled Props” pattern.