Picking an Architecture for Your NativeScript App
The open nature of NativeScript makes it possible to use popular JavaScript frameworks such as Angular and Vue.js. Sometimes with these options, though, comes a "paradox of choice". This brief article provides high level guidance as to which route you may want to take for your next NativeScript app.
NativeScript Core (a.k.a. vanilla JavaScript/TypeScript) | |
NativeScript + Angular | |
NativeScript + Vue.js |
1) Do you already know Angular? Use . Using Vue.js, and like it? You'll love .
2) Is start up time and performance your top concern? Use . (But you can make and nearly as fast with some optimizations.)
3) Will your app have a lot of components and/or complex views (i.e. showing/hiding items, different templates)? Use or . You may find the structure provided by those frameworks makes it a lot easier to build and maintain complex apps.