1. 29 8月, 2017 1 次提交
  2. 16 12月, 2016 1 次提交
  3. 04 6月, 2016 1 次提交
  4. 20 4月, 2016 1 次提交
  5. 31 1月, 2016 1 次提交
  6. 30 1月, 2016 1 次提交
  7. 26 1月, 2016 3 次提交
  8. 19 1月, 2016 1 次提交
  9. 17 1月, 2016 1 次提交
    • C
      Change internal spring config format · 1a171caa
      Cheng Lou 提交于
      From `{val: 1, config: [2, 3]}` to `{val: 1, stiffness: 2, damping: 3}`.
      Saves an allocation, is more concise and more consistent for adding the
      upcoming `onRest` option. Since this is the value returned by `spring()`
      helper and we've stated that it's opaque, it shouldn't cause any
      breaking change.
      1a171caa
  10. 16 1月, 2016 1 次提交
  11. 14 10月, 2015 1 次提交
    • C
      v0.3.1 · cc852fe7
      Cheng Lou 提交于
      See HISTORY for more info.
      cc852fe7
  12. 30 9月, 2015 1 次提交
  13. 12 9月, 2015 1 次提交
  14. 07 8月, 2015 1 次提交
    • C
      v0.2.7 · f53ec099
      Cheng Lou 提交于
      Remove documentation about supporting `endValue` as just a scalar
      number. We might not want that soon. Plus, the equivalent isn't
      implemented in TransitionSpring yet.
      f53ec099
  15. 06 8月, 2015 1 次提交
  16. 04 8月, 2015 1 次提交
  17. 02 8月, 2015 1 次提交
  18. 31 7月, 2015 3 次提交
    • C
      Generate native build require correctly · 8ec6ea54
      Cheng Lou 提交于
      Forgot to compile the native.js file. This new structure makes it
      possible.
      8ec6ea54
    • C
      v0.2.5 · aab5eedb
      Cheng Lou 提交于
      Mainly to fix the react-native warning from try/catching require react.
      aab5eedb
    • C
      Document last change on requiring react-native · feb0c58d
      Cheng Lou 提交于
      Check #110. Will leave README alone since people might accidentally refer to
      master and wonder why their installed lib doesn't work. We'll move stuff
      onto the docs site soon so the "readme on master" thing won't be a
      problem anymore.
      feb0c58d
  19. 29 7月, 2015 4 次提交
  20. 28 7月, 2015 1 次提交
  21. 27 7月, 2015 2 次提交
    • C
      Implement `defaultValue` · 0f4e2e5e
      Cheng Lou 提交于
      Used for having animation upon mounting. Previously, you could have done
      a `if (currentValue == null) {return ...} else {...}` check in
      `endValue` to achieve the same thing. But that was too minimalisitic and
      wasn't as discoverable.
      
      A further consideration is that the previous way relies on the fact that
      `endValue` is called an extra time after the end of a raf. So two first
      calls to `endValue` gave us this mounting animation. We might not render
      one last time after the last raf in the future so this new prop
      separates us from that concern.
      
      Another consideration is that we want to push people to use more objects
      rather than functions for `endValue` (so that we can potentially cache
      the value between Spring updates by owner, instead of calling the
      function every tick), and not using the above trick to make a mounting
      animation helps with this.
      0f4e2e5e
    • C
      Allow returning `null` from children function · b02d659c
      Cheng Lou 提交于
      Fixes #101.
      b02d659c
  22. 24 7月, 2015 3 次提交
  23. 22 7月, 2015 1 次提交
  24. 21 7月, 2015 1 次提交
    • C
      Prevent warning of setState on unmounted spring · b2e617eb
      Cheng Lou 提交于
      Fixes #72.
      
      If `endValue` calls an owner handler which sets some states, renders,
      and umounts the spring, we'd have an already scheduled
      `requestAnimationFrame` that does `setState` and would therefore warn.
      This fixes that with a few checks. But in general, don't put side-effect
      in `endValue`. This fix might not be guaranteed in the future!
      b2e617eb
  25. 19 7月, 2015 1 次提交
  26. 18 7月, 2015 1 次提交
  27. 16 7月, 2015 1 次提交
    • C
      Stop cloning in core · 664bbc94
      Cheng Lou 提交于
      Cloning was to avoid mutation bugs during prototyping period. This
      causes a bug currently where if you pass in a ReactElement, clone (which
      uses `JSON.stringify` under the hood, sorry) would try to serialize a
      cyclic data structure.
      664bbc94
  28. 14 7月, 2015 3 次提交