• Hixie's avatar
    Remove the scheduleBuild() API. · 4e289380
    Hixie authored
    I've noticed an anti-pattern emerge where people call scheduleBuild()
    when they think they've changed enough state that they should rebuild,
    instead of just wrapping their changes in setState(). This leads to
    them missing state changes, having extraneous scheduleBuild() calls,
    and other similar bugs.
    
    By removing scheduleBuild(), the only way to actually schedule a build
    now is to call setState(), and hopefully that'll make it much clearer
    that you're only supposed to do this when you change state.
    4e289380
Name
Last commit
Last update
..
animation Loading commit data...
assets Loading commit data...
base Loading commit data...
editing Loading commit data...
mojo Loading commit data...
painting Loading commit data...
rendering Loading commit data...
theme Loading commit data...
widgets Loading commit data...
README.md Loading commit data...
download_material_design_icons Loading commit data...
sky_tool Loading commit data...