Code Monkey home page Code Monkey logo

Comments (1)

netopyr avatar netopyr commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.