What’s New In Ionic 6 Beta?

  Solace  Infotech    July 27, 2021    416

 

Ionic is an open source UI toolkit used to build performant, high-quality mobile and desktop apps using web technologies like CSS, HTML and JavaScript. It focuses on the frontend UX and UI interactions of app- UI controls, interactions, gestures, animations. It is simple to learn and integrates with other libraries or frameworks like Angular, Vue and react. Also, it can be used without any frontend framework. The ionic framework came with the latest version as Ionic 6 beta at the Ioniconf 2021 this month. So if you are thinking of choosing the Ionic for app development, know the new features of Ionic 6 before you start development. Let’s see which are those.

What’s New In Ionic 6 Beta?

Main difference between ionic 5 and ionic 6 is that ionic 6 doesn’t need any action on  your end for new breaking changes as Ionic 5. So, the upgrade to v6 from v5 is the seamless of all the transitions. Let’s see what’s new in Ionic 6?

1. Design-

Ionic 6 has been updated to the latest iOS and android designs and ionic team have re-aligned their major release schedule for framework to make sure that future design changes with iOS and android platform releases can rolled into the framework much more quickly.

iOS-

Changes to the iOS mode include new boost style and updated toolbar and modular styles for dark mode. Also, it is announced that Ionic 6 be iOS 15 ready when it ships.

Material Design-

Major change to the Material Design mode is with patch-up input styles to help new filled and framework styles. Also, they added error and hepler text slots in spite of a character counter. Ionic team is also watching out for Material. At such point, when more direction is delivered, it will decide the effect it has on the framework. Ionic community is also looking for improvements with Android’s Material You, before figuring out what configuration impact this may have on Ionic app development and has effectively implement critical improvements to Ionic’s Material Design Mode.

2. Components-

Ionic 6 beta release comes with new components that eases to assemble desktop and mobile experiences. Some other components are yet to be released, but here we have curated the components that you can use.

Alert-

Alert is a dialog that retrieves clients data from the client inputs. It shows up on top of the app’s content and should be physically executed by client before they can continue interaction with the app. It can alternatively have a header, subHeader and message.

Card-

These are a standard ionic UI components that fills in as a section with detailed information. Card can be a single part, yet it included some header, title, caption and content. Ion-card is separated into some sub-segments to mirror the ion-card-header, ion-card-subtitle, ion-card-title, and ion-card-content.

Button-

Ion buttons offers interactive component, that can be used in structures or a place that requires basic, button functionality. It may show text, symbols or both. Ionic button can be styled with some attributes to look a particular way.

Accordion-

Ion-accordian eases the arrangement of lots of content in a simple way. With lots of functionality like smooth movements, console support and diminished motion openness, Accordian is obviously adaptable and can be used on desktop and mobile apps both.

Breadcrumbs-

Ion- breadcrumbs gives a significant setting to clients to the extent where they are in your application and how got there. Adaptable and collapsable means this part can handle even the most complicated app setups.

Datetime-

Ion-DateTime pickers are unpredictable and need to represent a wide range of use cases and solutions. It is patched up to use the most recent schedule picker styles on android and ios. Along with advanced plan, confinement backing and keyboard and screen reader integration, the new DateTime component is highly step up towards Ionic framework.

3. Tools And Performance-

Ionic 6 is developed with lightning-quick web components and exploits current Web APIs, meaning that your apps will be similar to native apps. Developers impact the amazing aspects of Stencil to bring performance and packaging upgrades to your Ionic 6 apps.

Vite, Rollup, and ESBuild-

Ionic 6 can be used with tools like Rollup, Vite and ESBuild, that gives you more choices to build apps.

Custom Elements-

Ionic 6 delivers another form of framework called as Custom elements build. This element assemble doesn’t depend on Stencil’s lazy loading and helps bundlers with including just a components used in your app. It helps to decrease the general size of your app.

In the Ionic Vue apps, bundle size reduction is up to 70%. Whether or not you are conveying to the application stores with Capacitor or to the web as a PWA, your applications will be smaller. While the particular savings will differ from one application to another, it is sure that most applications will see group size decreases with this change.

Custom elements build will be added to Ionic Vue and carried out to Ionic React and Ionic Angular developers.

4. Deprecations-

Slides-

Ion-slides component in the Ionic framework is controlled by a 3rd-party called Swiper.js. When Ionic 4 was first launch, Swiper.js didn’t have framework-specific integrations of its library. Ion-slides overcomes any barrier between center Swiper.js library and Javascript structures. Over the year, the Ionic Team having ion-slides component is keeping developers away from encountering the full force of Swiper.js. Hence, it is important to deprecate ion-slides in Ionic 6 and suggest developers use Swiper.js simply.

Virtual Scroll-

In Ionic 6, the ion-virtual scroll has been deprecated for using system explicit solutions. Virtual scroll was just accessible for Ionic Angular clients, that restricts the convenience of segment in Ionic React and Ionic Vue. Ionic 6 will be delivering virtual scroll guides for React, Angular and Vue clients.

Some More Changes-

  • dayNames, monthNames, monthShortNames and dayShortNames properties are eliminated.
  • pickerOptions and pickerFormat properties have been eliminated since ion-datetime has started using a calendar style.
  • –white-space CSS variable is set to default to normal rather than pre-wrap.
  • IonRouter type for uselonRouter is now called UseIonRouterResult.
  • IonKeyboardRef type for useKeyboard is now called UseKeyboardResult
  • The IonRouter type for useIonRouter is now called UseIonRouterResult. 

You can know the reasons of – Why Ionic framework is best for mobile app development?


 Article keywords:
apps, ionic 6, software

 


 Share this article: 
Print Digg StumbleUpon del.icio.us Facebook Yahoo! Buzz Twitter Google Bookmarks LinkedIn MySpace Orkut PDF Scoopeo Viadeo Add to favorites
      

© Copyright - Articles XP