This project adheres to Semantic Versioning.
- Update save-area types and use
initialMetrics
by default
- Fix invalid import #12
- Extend a Media Query API
createBreakpointsMatcher(...)
#8createBreakpoints(...)
- Optimize memory usage #9
// 4.x.x
useStyles() === useStyles(); // true
// 1.x.x - 3.x.x
useStyles() === useStyles(); // false
- Add dimensions api
- Improve typescript support
- Add tests for types
- Update dev dependencies
Breaking changes:
- Type
MakeUseStylesFn<TTheme>
was removed! Use declaration merging to define type forTheme
. More info typescript guide...
- Replace custom module react-native-appearance with core react-native Appearance
- Add support for the latest react-native-safe-area-context@1.0.0 API
- Publish a compatible bundle
- Update dev deps
- Fix expo issue
Unable to resolve module 'module://EmitterSubscription.js'
- Add integrations with react-native-appearance
Deprecate first argument as object makeUseStyles({ styles: {color: 'red'}})
now only functions allow makeUseStyles (() => (({ styles: {color : 'red'}}))
Improve memoization logic
Add integrations with third party modules\APIs:
- Improve recreating styles
- Added test
- Added helper type
MakeUseStylesFn
- Fix a
makeUseStyles
function type definition
- Added a new helper hook
useColorTransition((theme: Theme) => string): AnimatedValue
- Release