Ian McNally

Autocomplete in React

August 10, 2015

I was looking over some autocomplete/lookahead solutions, and I couldn’t find anything that could fit well into a React project.

First off, HTML5 has , but it’s not well supported. Most libraries and polyfills rely on jQuery. I also took a look at some pre-existing React libraries, but they were labeled “Not production ready” and couldn’t handle dynamic options.

So, without further ado, here’s my cross-browser compatible demo, dynamically updatable autocomplete demo in React:

See the Pen Autocomplete in React by Ian McNally (@imcnally) on CodePen.


Ian McNally

Hey, I'm Ian. I build websites and write about what I learn as I go. Follow me on Twitter.