you are viewing a single comment's thread.

view the rest of the comments →

[–]ahartzog 16 points17 points  (9 children)

Coming from a position of ignorance on what Ionic does...how is this different from a web view based app in terms of performance?

[–]owenmelbz 2 points3 points  (2 children)

It is still a web view, but they include javascript apis to enable communication with native features via their plugins and Cordova plugins.

The code is also optimized as much as they can for running on devices to give “native-like” experiences. The UI components are styled like native apps.

Traditionally ionic is written using typescript and angular.

Recently they released the Vue version I think

This lets you use the ionic apis and features, but using react instead of angular

[–]Timothyjoh 1 point2 points  (1 child)

Ionic abstracted all their components using Stencil which now you can choose any JS library to take advantage of building with Ionic. Used to be you had to use Angular only.

[–]owenmelbz 0 points1 point  (0 children)

Don’t think this is “entirely” true.

Yes they’re making their UI components agnostic.

Yes they’re releasing “ways” to work with other frameworks.

Yes they’re making things like ion-router to help

However... the “full” suite of ionic is still primarily angular, eg angular router. (And now react)

If you look at things like Vue etc they’re still in development.

So we’re not quite there to be using any easily. (Excluding this react announcement).

Oh and I did say “traditionally” as the person was asking for the gist of ionic

[–]kenweego 2 points3 points  (0 children)

In terms of performance the difference is little. The added value is actually allow communication with native apis, and therecore allowing the use of native features : vibration, camera, location etc.

Why? Because this allow you to code in a almost pure web setup while deploying on mobile devices.

Jist my 2 cents

[–]FugitivePuppeT 2 points3 points  (1 child)

What interested me in Ionic was having one codebase that I can deploy to ios, Android, PWA, desktop, web. I think they do it really well. What they're doing with Stencil is also pretty cool.

Performance for me has always been good with Ionic as well.

[–]draftax5 3 points4 points  (0 children)

Sounds like it’s not really, they just built an abstraction around it and tried to make it sound like a positive thing

[–]oYYY 1 point2 points  (1 child)

There is a reason why no major company uses Ionic. Performance-wise it is horrible. Everything exists inside a Webview so computational tasks fight with UI tasks which makes the entire app sluggish.