react-free-style

Make React components easier and more maintainable by using inline style objects

MIT License

Downloads
723
Stars
139
Committers
8

Bot releases are hidden (Show)

react-free-style - Use `dangerouslySetInnerHTML`

Published by blakeembrey about 8 years ago

Fixed

  • Moved from dangerouslySetInnerHTML to text incorrectly with 3.0
react-free-style - Free-Style 2.0

Published by blakeembrey about 8 years ago

Changed

  • Updated to use [email protected]
  • No more free-style class extension - create directly returns a FreeStyle instance
  • Move Style#component to wrap exported function (new signature is wrap(Component, ...styles))
  • Move Style#Element to StyleElement 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
react-free-style - Update Typings

Published by blakeembrey about 8 years ago

react-free-style - Inline Sources

Published by blakeembrey over 8 years ago

Changed

  • Remember to publish source map sources with package
react-free-style - Update React Definitions For Stateless Components

Published by blakeembrey over 8 years ago

Fixed

  • Allow stateless React components in type definition
react-free-style - Add Typings To `package.json`

Published by blakeembrey over 8 years ago

Added

  • Use typings in package.json
react-free-style - Improved Warning

Published by blakeembrey almost 9 years ago

Changed

  • Add additional information to render warning
react-free-style - Unrestrict Style Render Updates

Published by blakeembrey almost 9 years ago

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
react-free-style - Remove Unused Dependency

Published by blakeembrey almost 9 years ago

Changed

  • Remove xtend from dependencies
react-free-style - Remove Decorator

Published by blakeembrey almost 9 years ago

Changed

  • Removed decorator usage from module - it didn't quite work properly and was hard to debug
react-free-style - Higher Order Component

Published by blakeembrey almost 9 years ago

Changed

  • Once upon a time, I was using HOC with React but stopped - attempting to switch back just in case
react-free-style - Kill Console Log

Published by blakeembrey almost 9 years ago

Fixed

  • Deleted a console.log that had been released into the wild
react-free-style - Big Bang

Published by blakeembrey almost 9 years ago

Changed

react-free-style - Kill Peer Dependencies

Published by blakeembrey almost 9 years ago

Changed

  • Support any peer - assuming >= 0.12 for support
react-free-style - Alpha React Peer Releases

Published by blakeembrey almost 9 years ago

Changed

  • Support Alpha React version in peerDependencies
react-free-style -

Published by blakeembrey over 9 years ago

The component function now subclasses the passed in React.js instance. This fixes #8 and allows for components to expose custom methods (like MyComponent#focus) where the higher order component would previously hide the functionality.

P.S. Also exposes injectStyle for a decorators.