v0.10.1
Pre-release
Pre-release
Missing from the 0.10 release notes: React Native is now supported!
(And that's actually a breaking change.)
Now, to import React-specific parts (containers or decorators), you need to either import from redux/react
or redux/react-native
:
// Import utilities and functions from redux
import { createRedux, bindActionCreators } from 'redux';
// Import components and decorators from redux/react
import { provide, Connector } from 'redux/react';
// React Native: Import components and decorators from redux/react-native
import { provide, Connector } from 'redux/react-native';
0.10 release also had a problem with ES6 code inside redux/react
and redux/react-native
entry points, which is now fixed. Please upgrade if you had problems with 0.10.
Changes introduced in 0.10.1:
Connector
now throws ifselect
returns something other than a plain object (#85)- The custom dispatcher API is tweaked so
setState
now returns the state that was actually set. This makes custom dispatchers more composable. (#77)
Happy reducing!