lucid icon indicating copy to clipboard operation
lucid copied to clipboard

Performance Optimizations

Open sodiumjoe opened this issue 8 years ago • 0 comments

Some low-hanging fruit for perf gains that came out of our weekly meeting on 5/26:

  • add a generic shouldComponentUpdate in lucid.createClass that:
    • reference checks this.props
    • has a global opt-out flag
  • lucid global reflow event
    • single global poll that checks for potential reflows and notifies subscribers
    • dynamic polling interval?
    • requestAnimationFrame
  • modify components that iterate to create children to use an instance method for event handling instead of partials to reduce function creation

sodiumjoe avatar May 26 '16 22:05 sodiumjoe