What are the new features included in Ionic2?

What are the new features included in Ionic2?

Senior Developer Asked on February 28, 2019 in IONIC.
Add Comment
1 Answer(s)

What’s New in Ionic 2?
Here are few significant changes to Ionic in version 2 and also the new features and tools that were introduced in Ionic 2.

Browser Support:
Ionic 1 was built with only hybrid mobile apps in mind. But Ionic 2 is built to support progressive web apps and Electron apps as well. This means that you can now build not only Ionic apps that run inside the Cordova environment but also progressive web apps, which use modern web features to deliver an app-like experience to users.
You can also target Electron, a platform for building cross-platform desktop apps using HTML, CSS, and JavaScript. Electron is pretty much like Cordova but for desktop operating systems like Windows, Ubuntu, or macOS.

Angular 2 and TypeScript:
Ionic 2 now uses Angular 2 for templating and application logic. This means that developers will have to learn the new Angular 2 syntax before they can become productive at creating Ionic 2 apps.
Aside from Angular 2, Ionic 2 also uses TypeScript. For those unfamiliar with it, TypeScript is a superset of JavaScript. This means that you can still use vanilla JavaScript syntax to write your apps. If you want to use the features that come with TypeScript, such as ES6 and ES7 syntax, static-typing, and intelligent code completion, then you can use the TypeScript-specific syntax.

Team Leader Answered on March 22, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.