fix: update redux-observable example

This commit is contained in:
Richard Ramos 2019-09-06 09:53:05 -04:00
parent 09be9396ba
commit bbcada804e
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
phoenix - redux example phoenix - redux-observable example
=== ===
Simple application that shows how to dispatch a redux action from an observable. This app will deploy a test contract to **Ganache**. NodeJS application that uses `redux-observable` to initialize Phoenix, deploy a contract and periodically create a transaction. This app will deploy a test contract to **Ganache**.
For using Phoenix with `react` and `redux`, please check `examples/react-redux` to see a practical example
## Requirements ## Requirements
- `ganache-cli` - `ganache-cli`
@ -29,7 +28,7 @@ In a different session, execute
node -r esm src/index.js node -r esm src/index.js
``` ```
You'll see in the console how the state changes everytime phoenix receives an event. You'll see in the console how the state changes everytime phoenix receives an event, and a new transaction is created every second or so.
*Note*: this is a simple example application that does not include error handling for the web3 connection. Be sure `ganache-cli` is running in `localhost:8545` before browsing the dapp. *Note*: this is a simple example application that does not include error handling for the web3 connection. Be sure `ganache-cli` is running in `localhost:8545` before browsing the dapp.