Ionic-framework: feat: stop being inconsistent at the first place

Created on 11 Sep 2019  路  5Comments  路  Source: ionic-team/ionic-framework

there was first css
then you somehow figured out css attributes so everyone started using it for what? nonsense
and now we can rewrite our template base because its deprecated
congrats!
every release you put a lot of work on your peer developers
stop following fashion and build a strategy that avoids double work

triage

Most helpful comment

Thanks for the feedback! Using CSS attributes causes type errors to be thrown in frameworks that use JSX and TypeScript. Rather than have developers use attributes in certain frameworks and classes in others, we opted to deprecate CSS attributes in favor of classes in order to create a more consistent development experience across frameworks.

All 5 comments

Thanks for the feedback! Using CSS attributes causes type errors to be thrown in frameworks that use JSX and TypeScript. Rather than have developers use attributes in certain frameworks and classes in others, we opted to deprecate CSS attributes in favor of classes in order to create a more consistent development experience across frameworks.

I updated to 4.9.0 and see lots of deprecated warnings popping up.
Where's detail about this change?

I also wonder when will ionic team realize that angulars flex layout is better than ion-grid and it was totally in vain to introduce that.

@sahyun1 The deprecation warnings should explain what is being deprecated and what you need to do to get rid of the warning. Additionally, you can find all deprecations in CHANGELOG.md.

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings