NativeScript aligns framework with trendy JavaScript requirements


NativeScript is now out there. In keeping with the language’s Technical Steering Committee (TSC), this launch marks a major step ahead in aligning the framework with trendy JavaScript requirements and bringing consistency throughout the stacks. 

As well as, the TSC famous that on this launch there was a extra holistic method to managing the open-source parts surrounding the framework. “This launch is a testomony to the effectiveness and true that means behind the framework being neighborhood pushed and ruled by established open supply pointers,” the TSC wrote in a submit. 

On this launch the language now targets es2017+ as an alternative of es5. This permits for sooner and extra performant code. Builders will be capable to make the most of the newest ES advances, equivalent to Nullish coalescing operator ??. 

This launch additionally provides assist for the v8 iOS engine. In keeping with the TSC, the Android runtime has been utilizing JavaScript v8 for some time, however the iOS runtime was utilizing JavaScriptCore. This resulted in delicate variations in how every runtime behaved. By having each working programs use the identical v8 engine, upkeep of each runtimes might be improved. 

Different new options in NativeScript embrace a @NativeClass() decorator and the addition of nativescript.config.ts to consolidate app configurations. 

Trying ahead to model 7.1, the TSC might be engaged on ending distant cloud construct choices, including accessibility options, increasing the framework’s use case applicability, and introducing Canvas 2nd and WebGL assist. Extra info will be discovered within the product roadmap right here