Commit Graph
7 Commits
Author SHA1 Message Date
J. Ryan Stinnett 08a9307352 Bug 1253781 - Better perf with pure render. r=gl
There are few easy wins that greatly improve our perf with React:

* Add the PureRenderMixin to pure components that always render the same thing
  given the same props and state.  This implements React's shouldComponentUpdate
  as a shallow equality check of the props and state, so render() will be
  skipped if they match the previous values.
* Change action dispatch functions so they are only created once instead of on
  each render().  If an outer component creates new functions for each render()
  call, then the PureRenderMixin equality check fails for only the new function
  instances, even though no data has changed.

MozReview-Commit-ID: D96X048nEF4
2016-03-07 12:00:43 -06:00
Matteo Ferretti 51e8cff855 Bug 1239464 - Close button for exiting the responsive design view; r=jryans
MozReview-Commit-ID: Fygjgc7FHzF
2016-03-04 01:21:19 -05:00
Gabriel Luong edb078d94e Bug 1246807 - Implement Editable width / height inputs r=jryans 2016-02-22 13:15:26 -05:00
Gabriel Luong dd5f225ab0 Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
Gabriel Luong 696e9f12f3 Bug 1239441 - Implement landscape / portrait button that rotates the viewport r=jryans 2016-02-10 17:07:17 -05:00
Gabriel Luong bcf840043e Bug 1243403 - Implement the general design of the responsive design mode r=jryans 2016-01-27 17:51:57 -05:00
J. Ryan Stinnett 9f65f5255a Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00