Closed sc0ttj closed 4 years ago
Foo = new Component(someState)
setState
Foo({ count: 1 })
tweenState
shouldSetState
Foo = new Component(someState)
now returns a function, not an objectsetState
in its constructorFoo({ count: 1 })
tweenState
: allowshouldSetState
to be boolean (not only func that returns boolean)