3 ms·
But react isn't interesting because they could have just modified custom elements via a polyfill and javascript extension. It would work mostly natively on newe
by TheFarmingBunny 10y ago
But react isn't interesting because they could have just modified custom elements via a polyfill and javascript extension. It would work mostly natively on newer browsers. Keyframes is just after effects animation in HTML5, a feature that could be implemented more natively using svg and a solution similar to this for older browsers. Facebook seems to want to dominate with single-use, clunky libaries.
- seanwilson 10y ago> Keyframes is just after effects animation in HTML5, a feature that could be implemented more natively using svg and a solution similar to this for older browsers That's another approach which has it's own pros and cons. The approach from the article is obviously good if you have Affect Effects experts on hand. I'm not understanding why this isn't interesting to programmers who on a daily basis have to weigh up the pros and cons of different technology/library choices.
- misio 10y ago>I'm not understanding why this isn't interesting to programmers who on a daily basis have to weigh up the pros and cons of different technology/library choices. Perhaps I'm showing my age, but this feels like this problem was solved a long time ago, forgotten or unused to a large extent and now re-invented. Flash was the clever web version back in the day but I can't see anything really new in this. I could absolutely be missing the point though. I never count that out.
- seanwilson 10y agoFlash isn't supported on mobile browsers (now), native Android or native iOS though.
- misio 10y agoOh, absolutely. It was a heavy implementation of a similar solution and the mobile ecosystem is better off without it.
- deleted 10y ago[deleted]
- xenadu02 10y agoYeah and on mobile devices you can waste a lot more battery running animations in HTML5. I'm sure your users will appreciate that. Surely the most important thing is to optimize programmer time and comfort without regard to the end-user experience and that thinking has lead to a world filled with wonderful well-designed software that properly handles error conditions and never presents users with useless choices or non-actionable obscure error messages.* Snark aside, if you have a native mobile app it is a much, much nicer experience to have native animations integrated rather than trying to mash an HTML view into the app just for some animations. *Because programmers are the worst kind of pedants: Yes I know sometimes you can't afford to write native apps, sometimes a partial solution is better than no solution, etc. Just don't lie and tell me a web app is as good as (or better than) a native app, or that Cordova is a great way to write mobile apps. Those are compromises. Sometimes you make compromises to get shit done. It doesn't magically transform a compromise into an ideal solution.