sghall / resonance

:black_medium_small_square:Resonance | 5kb React animation library
https://sghall.github.io/resonance
MIT License
1k stars 27 forks source link

Use enter, update, exit semantics #17

Closed sghall closed 7 years ago

sghall commented 7 years ago

Should use enter, update and exit semantics instead of appear, update and remove. Better for people who have worked with d3 previously.

Types should go from... APPEAR, UPDATE, REMOVE to ENTER, UPDATE and EXIT

Component methods should be onEnter, onUpdate and onExit then.

sghall commented 7 years ago

Done in 0.6.0.