Tested with cljs-react-material-ui 0.2.48 and React 15.6.1-1 and 16.0.0-beta.5-1. In both cases I get a bunch of exceptions:
"Failed prop type: Invalid prop children of type object supplied to MuiThemeProvider, expected a single ReactElement"
"react-dom.inc.js:18118 Uncaught Error: MuiThemeProvider.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object"
I tried using this with reagent with little luck. The following works as expected:
But this fails spectacularly:
Tested with cljs-react-material-ui 0.2.48 and React 15.6.1-1 and 16.0.0-beta.5-1. In both cases I get a bunch of exceptions:
children
of typeobject
supplied toMuiThemeProvider
, expected a single ReactElement"Am I holding it wrong?