Skip to content

v2.0.0

Compare
Choose a tag to compare
@arthurxavierx arthurxavierx released this 14 Sep 12:37

<a name"2.0.0">

2.0.0 (2016-09-14)

Bug Fixes

  • Carpenter.Cedar:
    • fix new props with new initialState on Cedar components not changing state (d0565528)
    • attempt to fix synchronicity problem in watch (bcebf716)

Features

  • Carpenter: allow update functions to dispatch actions by adding 'dispatch' as argument (aea81120)
  • Carpenter.Cedar:
    • add cedarSpec' function, which builds cedar components with initial actions (bd54c88e)
    • change watchAndCapture by having it handle both actions and state simultane (bc745751)

Breaking Changes

  • Update function now takes an extra Dispatcher as second argument

    (aea81120)

  • watchAndCapture now takes an EventHandler which has the dispatched action as
    first argument and the updated state as second argument

    (bc745751)