Comments (6)
@maxfrigge The set or merge of large datasets is slower on immutable then mutable. shouldComponentUpdate always returns false with the new cerebral-view-react. So I don't think you need to do the checking.
from cerebral-website.
@edgesoft I agree that the performance of expensive state mutations will increase without immutable state, but afaik Cerebral will only be able to efficiently update the views that are directly connected to the state using connect
all sub components are most likely being re rendered each time, whether their data changed or not.
from cerebral-website.
+1
from cerebral-website.
@maxfrigge @edgesoft mutable model now has "Improved performance on large datasets" point in doc. is it enough?
from cerebral-website.
@Guria Yes!
from cerebral-website.
@Guria Should do it for now. There is also the other side where your view's performance could be optimised with immutable data, but I don't think that it the impact will be big enough to actually care :) .. and it seems that nobody really researched this further.
from cerebral-website.
Related Issues (20)
- edit page link doesn't work HOT 1
- redirect from christianalfoni.com/todomvc to cerebraljs.com/todomvc HOT 1
- collect docs from correspondent github repos HOT 1
- Horizontal scroll on Chrome/Android does not work
- collect changelog information from github releases HOT 2
- provide anchors for headers on mouse over HOT 1
- use remote github package readme for model and view packages
- type error in markdown/nesting.md HOT 4
- Workflow notes HOT 1
- return 404 with link to home instead of internal server error HOT 4
- Add project values page
- Maintain documentation for all Cerebral releases
- Content Structure HOT 4
- Show folder structure to new users HOT 2
- Show application flow from 1000 miles away
- Calling branches in state namespace seems confusing
- Classes or functions for react examples? HOT 1
- tutorial port? HOT 2
- BOOTSTRAP_STATE security problem with JSON.stringify/parse
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 cerebral-website.