react-look v1.0.0-beta1 Release Notes
-
API Changes
โก๏ธ While those changes might seem huge, it still is quite easy to update.
- ๐ Uses
className
instead oflook
- ๐
Use [
StyleSheet.combineStyles
](docs/api/StyleSheet.md#combinestylesstyles) instead of an array passed - ๐
StyleSheet.create
only accepts styles, no Component anymore - ๐ Uses [
<LookRoot>
](docs/api/LookRoot.md)-Component in favor oflookRoot: true
- Pass config with
<LookRoot config={config}>
instead oflookConfig
on root-Component - Everything shipped with
react-look/addons
comes withreact-look
directly
๐ Improvements
- ๐ Huge performance improvements
- Now supports every pseudo class
- LVHA-aware pseudo classes
- Less bandwidth for server-side rendering
- ๐ Improved debugging with [friendlyClassName](docs/plugins/friendlyClassName.md)-plugin
- ๐ New documentation & [Getting Started](docs/GettingStarted.md) guide
- Now using [lodash](lodash.com) utility methods
๐ Bug fixes
- Third-party
context
gets passed correctly ( #190 ) - ๐ Fixed plugin resolving ( #185 )
- ๐ Fixed
@font-face
rendering bug - ๐ Fixed a bug that prevented mixins to resolve correctly
- ๐ Uses