Closed hellogerard closed 9 years ago
I'm actually getting this as well, and don't have a ton of time to debug. Tried a few things but no dice so far.
So I just tried it again, and it works for me now. Something fixed it between 0.12.54 and 0.12.70. Feel free to close this.
Hello,
Trying to use
reapp-ui
standalone in a Meteor app. I got it importing fine, but themes would not work. After digging, it looked like the theme info in the React child contexts were not getting passed down (using theTheme
helper). I'm using webpack to build.My simple component:
When I load it in the browser, everything loads without errors, but I get the label
Hello
and nothing else (see screenshot). If I inspect with the React Chrome inspector, I see theTheme
helper component with the theme info in its props. But theButton
component has no context. (BTW, thecolor="red"
prop doesn't work either.)Of course, everything works fine when using the
reapp
command line.I'm using
react@0.13.2
andreapp-ui@0.12.54
.What am I missing?