This repository has been archived by the owner on May 17, 2019. It is now read-only.
Releases: fusionjs/fusion-rpc-redux
Releases · fusionjs/fusion-rpc-redux
v0.3.2
v0.3.1
Changelog
No pull requests in this release
v0.3.0
Changelog
Highlighted Changes
- Update API to be consistent with new version of fusion-plugin-rpc (#9)
Other Changes
- Use Buildkite and Docker for CI (#7)
Migration Guide
Pass in rpc with request key
const handler = createRPCHandler({
store, // required
- rpc: {someMethod() {}, otherMethod() {}},
+ rpc: {request(method, args) => {}},
rpcId, // required
actions: { // optional
start: () => ({type: '', payload: ''})
success: () => ({type: '', payload: ''})
failure: () => ({type: '', payload: ''})
},
mapStateToParams: (state) => {}, // optional
transformParams: (params) => {} // optional
});
v0.2.0
Changelog
Highlighted Changes
- Update reactors interface (#4)
Other Changes
- Add initial implementation files (#2)
Migration Guide
Import renamed from createRPCReactor
to createRPCReactors
-import {createRPCReactor} from 'fusion-rpc-redux'
+import {createRPCReactors} from 'fusion-rpc-redux'
Return reactors directly from createRPCReactors
-const {reactors, rpcId} = createRPCReactor('foo', {...})
+const reactors = createRPCReactors('foo', {...);