mozilla / webmaker-core

React-based core for Webmaker shared across all platforms
https://foundation.mozilla.org/en/artifacts/webmaker/
Mozilla Public License 2.0
64 stars 39 forks source link

Potential Optimization: shouldComponentUpdate #684

Open gvn opened 9 years ago

gvn commented 9 years ago

"If performance is a bottleneck, especially with dozens or hundreds of components, use shouldComponentUpdate to speed up your app."

See: https://facebook.github.io/react/docs/component-specs.html#updating-shouldcomponentupdate

There may be some opportunities to leverage this.

alanmoo commented 9 years ago

Think this would help at all with #638?

gvn commented 9 years ago

Maybe partially. Most of what's described in that bug are data integrity issues, not so much perf issues. However, if we can figure out what UI in particular feels "slow" we might be able to speed it up by not having render called so much...

gvn commented 9 years ago

@xmatthewx Backlog?