cljsjs

2016-04-08T16:35:34.000349Z

Is anybody using React components such as react-router (or react-datepicker, or react-select) in Reagent? I thought all I have to do was

(ns my-project.core
  (:require [reagent.core :as r]
                 [cljsjs.react-select])

(def select (r/adapt-react-class js/Select))
and then just use select as a regular Reagent component, but then the browser throws an exception while rendering the resulting html, as if Reagent failed to pass the correct props to the component. Similar things happened with all the other “external” components I tried. Every time I get a different misbehavior that seems specific to the component I’m trying to use. Am I missing some step? Is anybody else facing similar problems?