Comments (1)
Hi renanliberato,
thanks for trying out ReduxFX. I think you need to switch to the class SimpleReduxFX instead of ReduxFX (in the same package). Otherwise your code looks fine.
SimpleReduxFX gives you everything you need to implement your first examples and simple demos. But when you try to implement a real application, you will realize that one important piece is missing: SimpleReduxFX lacks the ability to communicate with anything that is not UI, e.g. servers, file-system etc. The class ReduxFX adds the missing functionality, but you have to return an instance of Update instead of the new state. Update contains the new state and an arbitrary list of commands, which are used to communicate with the outside world. You can find some more details here: https://github.com/netopyr/reduxfx/blob/master/doc/driver.md
Sorry that the documentation is not clear enough right now. Unfortunately the documentation is clearly one of the weak points at this point.
Cheers,
Michael
from reduxfx.
Related Issues (20)
- Fix javadocs in examples
- Simplify thread model
- Example with jvm-redux-api
- Cleanup examples
- Introduce Selectors in examples
- Can't seem to get 0.3.0 from JCenter or MavenCentral HOT 3
- Migrate Maven fix
- Migrate to vavr.io HOT 2
- API of Middleware HOT 8
- add selection to ListView HOT 2
- Automatic deployment of snapshot versions HOT 3
- Add functionality to set internal properties on TreeItems
- Scenegraph-Abstraction
- Code generators for VirtualScenegraph-Builders
- Fix problem with Sonar
- ReduxFxml create function; shouldn't it take a store (v0.4.1)? HOT 2
- How to start asynchronous actions? HOT 1
- Invalid dependency in pom HOT 2
- ListView Button action error on re-render list.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reduxfx.