Jump to content
MakeWebGames

Recommended Posts

Posted (edited)

I have used typescript for work with the website re-implementation I'm in the process of finishing up for work. It has had its benefits, that's for sure. At least for me, since I didn't really have a whole lot of JavaScript to work with in the re-implementation process to begin with, I didn't use it much.

 

~G7470

Edited by G7470
Posted
Just now, G7470 said:

I have used typescript for work with the website re-implementation. It has had its benefits, that's for sure. At least for me, since I didn't really have a whole lot of JavaScript to work with in the re-implementation process to begin with, I didn't use it much.

 

~G7470

You’ll thank yourself if you ever do a refactor or onboard other team members into the project! 

  • Like 1
Posted
2 minutes ago, Dave said:

You’ll thank yourself if you ever do a refactor or onboard other team members into the project! 

I hope so! It took some time for me to learn it, haha. I've heard about it for quite a while, so I figured I would give it a try.

 

~G7470

Posted
19 minutes ago, G7470 said:

I hope so! It took some time for me to learn it, haha. I've heard about it for quite a while, so I figured I would give it a try.

 

~G7470

The learning curve is certainly interesting, I dislike writing normal JavaScript now though.

Posted
1 hour ago, Dayo said:

We are using typescript to write our HeatingSave mobile app for android and iOS It is weird going between typescript and javascript ?

Oh very nice! Which framework are you using? 

Posted
2 hours ago, Dayo said:

We use ionic for all our mobile apps 

Oh nice! How’d you find it? 

I’ve only ever used React Native and Flutter. If you like TypeScript you should check out Flutter, it’s written in Dart which feels a lot like TypeScript.

Posted
6 hours ago, HauntedDawg said:

NativeScript is what you want for mobile apps (or React Native) - https://www.nativescript.org/

Haven't heard of Flutter. Will give it a look

Does this still not end up just being a website within a WebView? Or does it have some crazy magic JS to Objective-C / Java compiler?

Going to go and answer my own question! https://docs.nativescript.org/core-concepts/technical-overview?_ga=2.55062443.1060648082.1551772759-150989056.1551772759

it still runs the JS in a Virtual Machine and just has lots of lovely abstractions around core APIs and layout handling. I imagine there’s a minor performance penalty along with increased bundle sizes, but that shouldn’t really be a concern as it’ll be way easier to build and maintain. 

Posted (edited)
6 hours ago, Dave said:

Does this still not end up just being a website within a WebView? Or does it have some crazy magic JS to Objective-C / Java compiler?

Going to go and answer my own question! https://docs.nativescript.org/core-concepts/technical-overview?_ga=2.55062443.1060648082.1551772759-150989056.1551772759

it still runs the JS in a Virtual Machine and just has lots of lovely abstractions around core APIs and layout handling. I imagine there’s a minor performance penalty along with increased bundle sizes, but that shouldn’t really be a concern as it’ll be way easier to build and maintain. 

We have not found to have any performance impact using NativeScript and we have a variety of mobile apps out there at the moment. The app is truly native though hence "Native"Script ? - it just make's it super easy to maintain without needing 2 different developers cause of different languages. See here for more reading: https://www.nativescript.org/nativescript-is-how-you-build-native-mobile-apps-with-angular

Edited by HauntedDawg
Posted
15 minutes ago, HauntedDawg said:

We have not found to have any performance impact using NativeScript and we have a variety of mobile apps out there at the moment. The app is truly native though hence "Native"Script ? - it just make's it super easy to maintain without needing 2 different developers cause of different languages. See here for more reading: https://www.nativescript.org/nativescript-is-how-you-build-native-mobile-apps-with-angular

Makes a lot of sense! I keep going into making an app and never finishing them. I've tried in React Native and Flutter so far, maybe the next one I'll try in NativeScript.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...