• 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
..
address_book/lib Loading commit data...
demo_launcher Loading commit data...
fitness Loading commit data...
game Loading commit data...
hello_world/lib Loading commit data...
mine_digger Loading commit data...
raw Loading commit data...
rendering Loading commit data...
stocks Loading commit data...
widgets Loading commit data...
BUILD.gn Loading commit data...
README.md Loading commit data...