chenglou / react-tween-state

React animation.
Other
1.74k stars 70 forks source link

Remove duplicate :number in readme #34

Closed colinmegill closed 9 years ago

chenglou commented 9 years ago

I ask for a number because the additive behavior adds the numbers (tween contributions) together. You could return a string and use the destructive or stacking behavior, but at this point it becomes a bit error-prone. We don't have type checking anyways, so I put Number as sensible return type. Theoretically you could pass other random types and make things work.

I'll close this since this is the preferred return type. Thanks for the attention to detail though! =)