Open RobbieTheWagner opened 4 years ago
If I use @css when render is called, it is not passed props anymore and you have to access them via this.props.
@css
props
this.props
Also, react is called explicitly here https://github.com/streamich/nano-css/blob/master/addon/util/transformComponentStatic.js#L18
For compatibility this should be configurable.
If I use
@css
when render is called, it is not passedprops
anymore and you have to access them viathis.props
.Also, react is called explicitly here https://github.com/streamich/nano-css/blob/master/addon/util/transformComponentStatic.js#L18
For compatibility this should be configurable.