Thanks. It's adapted from an example of the google places API. It was easy to drop in, but took a lot of work to make the UX work well. (users are easily confused)
If you want to checkout some reagent best practices I'd take a look at the re-com live demo, esspecially its source.