developit / preact-css-transition-group

Apply CSS transitions when adding or removing Preact components/elements
62 stars 17 forks source link

Documentation improvement #12

Open seven-cd opened 7 years ago

seven-cd commented 7 years ago

Hi, Can you add some examples and some more detailed documentation for project?

developit commented 7 years ago

I can try to, though honestly I don't use this module at all. I'll tag this issue with Help Wanted, maybe some passerby will have great examples to point to.

trsh commented 7 years ago

@developit what module do you use?

developit commented 7 years ago

I use CSS animations (I am very lazy)

trsh commented 7 years ago

@developit with preact? Can you give an example? Because with no change in JS part components are just switched.

developit commented 7 years ago

Ah - I don't do cross-component transitions, just animations when inserting elements. I know @prateekbh is working on something really awesome for full animations though, maybe he'll link to it here ;)

prateekbh commented 7 years ago

@seven-cd if you are looking route based animations this is something my WIP liquid-route results like https://liquid-route.surge.sh