PolymerElements / neon-animation

Polymer + Web Animations
https://www.webcomponents.org/element/PolymerElements/neon-animation
143 stars 98 forks source link

Provide web animations example for porting code #236

Open rwestlund opened 7 years ago

rwestlund commented 7 years ago

The README says this element is deprecated and we should use the web animations API or CSS animations. Can we have an example of how to do this?

I've been using neon-animated-pages and neon-animatable with simple fade or slide animations to change pages in my app. What's the recommended way to accomplish this now?

ZachMoreno commented 7 years ago

I was able to get my animations working again after following the thread in #226

srijken commented 7 years ago

@ZachMoreno the question is how to accomplish animations without neon-animation because neon-animation is now deprecated. #226 is about loading the web animations polyfill. I was able to get neon-anitmation to work too, but it seems that for new projects you shouldn't use it because it's marked deprecated.

zliebersbach commented 7 years ago

+1, I feel that a migration guide of some sort would be quite useful since all of my projects are very closely intertwined with neon-animation at the moment. Really sucks to just be cut off like this. :disappointed:

ShaggyDude commented 7 years ago

+10 can't get this to work

JunedS commented 7 years ago

Didnt expect this from polymer team. Still thinking what could be the reason to discontinue like this without any reasons and explanations. Neon animations didn't make use of web animations api or css animations put together? We know web animations or css animations we would need to depend but how about some tutorials to achieve the same as we would with neon animations! Was expecting some maturity from Polymer team on this.

notwaldorf commented 7 years ago

@juneds "deprecated" means that our recommendation is for you to stop using it, at your convenience, since the alternatives are better. Nothing is stopping you from continuing to use it, like you have before. Given that tutorials were requested, this is something we're working on, and will update.

There's no need to use ad hominems here -- we didn't delete the repo without updating the community. We ported it to hybrid, so that you can use this element in 2.0 elements, and we marked it as deprecated, so that you can consider moving off it.

JunedS commented 7 years ago

@notwaldorf Sorry if you thought it was some kind of ad hominems but it wasn't. I know there are alternatives but think about this what about those apps which heavily depend on neon animation. Think about the effort required again to migrate it from neon animations to the alternatives (which might be better). Now users would think that let us not depend on any of these (like neon animations) because who knows when you guys might deprecate them and yes you guys have every right to deprecate them but all I was saying was there should have been some kind of migration guide/tutorials followed by the deprecation. Its all about the priority how you would want to take it. Btw you guys have been doing wonderful job! Keep up the good work.