withStyles removes all component attributes
When I wrap my components with withStyles, the function essentially creates a fresh class, so all previously defined class attributes, such as static method or component functions are gone. The workaround I have so far is to manually add the attributes.
You can call child component methods from parent like so: https://github.com/kriasoft/react-starter-kit/issues/909#issuecomment-252969542
Also withStyles copies all static method to new class in #38 (but not published yet)
what about non-static values?
I'm trying to create an uncontrolled input, but withStyle makes [ComponentWithStyle].value undefined
The same as in example above, just use this.child.value instead of this.child.method()
https://github.com/thebigredgeek/isomorph-style-loader < There is an active fork here with the latest round of changes, including hoist-non-react-statics integration on the decorator