Giter VIP home page Giter VIP logo

Comments (6)

wbuchwalter avatar wbuchwalter commented on August 21, 2024

Yes, I don't see why not.
Do you have a scenario where this optimization would be useful?
I have a hard time picturing slicing as a bottleneck (unless you have 1 mapStateToProps for the whole application, or that kind of bad practice maybe).

from ng-redux.

TrySound avatar TrySound commented on August 21, 2024

@wbuchwalter One of my cases is something like selecting already selected item, which shoudn't update state and force recalculating slice of same data.

from ng-redux.

wbuchwalter avatar wbuchwalter commented on August 21, 2024

My question was more about trying to figure out a scenario where what you said would actually cause perf issues.

But anyway, yes it should be easily doable.

On Fri, May 27, 2016 at 5:47 AM -0700, "Bogdan Chadkin" [email protected] wrote:

@wbuchwalter A case is something like selecting already selected item, which shoudn't update state and force recalculating slice of same data.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from ng-redux.

TrySound avatar TrySound commented on August 21, 2024

There is not so big perf issue, but still props recalculating in tens components could be prevented, this will save a bit of memory I think.

from ng-redux.

TrySound avatar TrySound commented on August 21, 2024

Also nothing will work if somebody will forget to "immutate" store, which can force to follow the most important rule of redux.

from ng-redux.

AntJanus avatar AntJanus commented on August 21, 2024

Added to 4.1.0 roadmap

from ng-redux.

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.