This repository has been archived by the owner on May 17, 2019. It is now read-only.
Releases: fusionjs/fusion-plugin-rpc-redux-react
Releases · fusionjs/fusion-plugin-rpc-redux-react
v0.3.1
v0.3.0
Changelog
- Migrate to fusion-core 0.3.0-5 (createPlugin DI API) (#42)
- Add short MIT license header to all source files (#41)
- Update uber/web-base-image Dockerfile tag to v1.0.2 (#40)
- Upgrade create-universal-package@^3.2.x (#33)
- Pin Dockerfile uber/web-base-image:1.0.0 image digest (#31)
- Configure Renovate (#26)
- Ensure correct CI test exit status code (#25)
- Use web base docker image (#29)
- Update pipeline queues (#28)
- Add codecov (#24)
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Changelog
Highlighted Changes
- Update api of withRPCRedux and withRPCReactor (#4)
Other Changes
- Add initial implementation (#2)
Migration Guide
Remove createRPCReactor export
-import {createRPCReactor} from 'fusion-plugin-rpc-redux-react';
Update withRPCReactor api
-import {createRPCReactor} from 'fusion-plugin-rpc-redux-react';
-const withIncrement = withRPCReactor({
- ...createRPCReactor('rpcId', {
- start: (state, action) => newState,
- success: (state, action) => newState,
- failure: (state, action) => newState,
- }),
- propName: '',
- mapStateToParams: (state) => {},
- transformParams: (params) => {},
-});
+const withIncrement = withRPCReactor('rpcId', {
+ start: (state, action) => newState,
+ success: (state, action) => newState,
+ failure: (state, action) => newState,
+}, {
+ propName: '',
+ mapStateToParams: (state) => {},
+ transformParams: (params) => {},
+})
Update withRPCRedux api
-const withIncrement = withRPCRedux({
- rpcId: 'increment',
- propName: '',
- mapStateToParams: (state) => {},
- transformParams: (params) => {},
-});
+const withIncrement = withRPCRedux('increment', {
+ propName: '',
+ mapStateToParams: (state) => {},
+ transformParams: (params) => {},
+});