{"id":9110,"date":"2020-09-10T05:35:56","date_gmt":"2020-09-10T09:35:56","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=9110"},"modified":"2020-09-10T05:35:56","modified_gmt":"2020-09-10T09:35:56","slug":"nativescript-7-0-release-modern-javascript","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/nativescript-7-0-release-modern-javascript\/","title":{"rendered":"NativeScript 7.0 Release Aligned With Modern JavaScript Standards"},"content":{"rendered":"\n
NativeScript 7.0 Release Framework aligned with modern JavaScript standards across the whole stack has been announced for general availability.<\/p>\n\n\n\n
This new release of NativeScript<\/a> will no longer be targeting es5 and commonjs<\/em>. Instead, it will be targeting es2017<\/strong>+. This will allow for faster and more performant code as well as the latest ES advancements available in es2017<\/strong>.<\/p>\n\n\n\n This release now has the ability to extend native platform classes directly in JavaScript<\/a> via the NativeClass()<\/em> decorator. This feature applies to TypeScript <\/a>based projects only.<\/p>\n\n\n\n The array of JSON package files have now been consolidated into a single nativescript.config.ts<\/em> or nativescript.config.js<\/em> file rather than having them spread over several directories such as the root<\/em>, src<\/em>, and app <\/em>directories.<\/p>\n\n\n\n The default iOS<\/a> runtime is now using the same JavaScript v8 engine with @nativescript\/io<\/em>s instead of using JavaScriptCore the same way NativeScript’s Android<\/a> runtime has been for quite a while. However, you can still use tns-ios<\/em> runtime based on JavaScriptCore<\/strong> if you find that the new v8 engine<\/a> has an issue.<\/p>\n\n\n\n You can check out the official NativeScript 7.0 Release release notes here to find out more details about this release here<\/a>. Meanwhile, you can also get up to speed with the NativeScript roadmap here<\/a> too.<\/p>\n","protected":false},"excerpt":{"rendered":" NativeScript 7.0 Release Framework aligned with modern JavaScript standards across the whole stack has been announced for general availability. Highlights of the NativeScript 7.0 Release This new release of NativeScript…<\/p>\n","protected":false},"author":1,"featured_media":9111,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,13,27,16,18],"tags":[53,164,321,328,382,394,424,449,591,596,608,635,636],"yoast_head":"\n