Comments (6)
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.
@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.
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.
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.
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.
Added to 4.1.0 roadmap
from ng-redux.
Related Issues (20)
- 4.0.x doesn't support Redux DevTools Chrome Extension HOT 11
- Typings Error when using Redux 4.0.0 HOT 2
- 4.1.0 Release HOT 4
- types: `connect` should allow `null` as the first argument HOT 3
- How to use multiple Actions in single $ngRedux.connect()? HOT 1
- Redux 4.0.0 is available HOT 2
- 4.X.0 Discussion/Tracking Issue HOT 8
- [TS] Type safety is not good enough when using $ngRedux.connect()
- Add standard version as part of the release process
- How to mock ngredux store in Jasmine Component Testing ?
- $digest may be triggered before the actual state change
- Question: async dispatch / thunk advice requested
- Lodash dependancy bloating the bundle size. HOT 1
- Release new version HOT 3
- Upgrade lodash in order to fix SNYK-JS-LODASH-450202 HOT 1
- New release? HOT 3
- How do I call an angularjs service function inside a reducer? HOT 1
- the published version of 4.4.1 depends on a vulnerable version of lodash (4.17.13) HOT 1
- Maintainer access HOT 8
- `$ngRedux.provideStore()` leaks subscription to provided store after `$rootScope.$destroy()`
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 ng-redux.