Releases: blakeembrey/react-free-style
Releases · blakeembrey/react-free-style
Use `dangerouslySetInnerHTML`
Fixed
- Moved from
dangerouslySetInnerHTML
to text incorrectly with 3.0
Free-Style 2.0
Changed
- Updated to use
[email protected]
- No more
free-style
class extension -create
directly returns aFreeStyle
instance - Move
Style#component
towrap
exported function (new signature iswrap(Component, ...styles)
) - Move
Style#Element
toStyleElement
exported component (still renders the same) - Create internal
free-style
instances for every component - this allows dynamic rendering of styles (this.context.freeStyle.registerStyle
) without needing to detach them manually
Update Typings
Changed
- Updated
react
typings (#18)
Inline Sources
Changed
- Remember to publish source map sources with package
Update React Definitions For Stateless Components
Fixed
- Allow stateless React components in type definition
Add Typings To `package.json`
Added
- Use
typings
inpackage.json
Improved Warning
Changed
- Add additional information to render warning
Unrestrict Style Render Updates
Changed
- Keep warning when render occurs during current render loop, but allow it to continue through and crash
Added
- Add
displayName
to free style components
Remove Unused Dependency
Changed
- Remove
xtend
from dependencies
Remove Decorator
Changed
- Removed decorator usage from module - it didn't quite work properly and was hard to debug