Git Product home page Git Product logo

Comments (3)

Mika83AC avatar Mika83AC commented on May 4, 2024 4

Ok, thank you for this helpful explanation.

Is "hot reloading" not just a implementation of "read the localStorage on page load and set to the state what's relevant for it"? Just a save and restore of application state. Guess this can't be counted as an advantage of Redux I think ;)

TimeTravel might be a really helpful thing in debugging, but is this worth the overhead that comes with it. Hm... hard decision.

For me the important point is that PolymerRedux is Polymer 2.0 compatible. As every new app development will start on 2.0 I think it would be very important for UniFlow to be 2.0 compatible. Otherwise me/someone else just HAS to use PolymerRedux because we CANT use UniFlow, even if we'd like to.

Have your plans for 2.0 compatibility changed since the last one asked for it?

from uniflow-polymer.

militeev avatar militeev commented on May 4, 2024 2

Uniflow is now Polymer 2.X compatible. Check out v0.6.0

from uniflow-polymer.

militeev avatar militeev commented on May 4, 2024

Both libraries try to achieve similar goal - implement pattern of unidirectional data flow. polymer-redux project uses Redux, which demands state to be immutable and reducers being pure functions. UniFlow doesn't have such restrictions, which on one hand reduces overhead: you (a) don't need to recreate the state object every time the action is processed and (b) don't need to deal with middleware. On another hand you loose some advantages that come with Redux: time travel and hot reloading.

from uniflow-polymer.

Related Issues (14)

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.