react-with-styles
Advanced tools
Changelog
v4.0.1
Changelog
v4.0.0
useStyles
hook, which is still experimental. Use if you do not require performance optimizations for themed styles per component. (@noratarano, #225, #221)withStyles
to use a context-based implementation, rather than singletons in the ThemedStyleSheet
. Works in a backward compatible way with the ThemedStyleSheet
implementation. Note that this may break existing usages of the HOC if a wrapping component of a component using withStyles
uses contextTypes
and hoists contextType
(usually accidentally). (@noratarano, #225, #221)