NativeScript
6.0 is going to be the major release for this framework, the developers of the
NativeScript framework put there maximum efforts to make world-class Webpack
which provides a stellar development experience.
Every
release for the past 1.5 years was a step towards to achieve this goal and
finally, preview of NativeScript 6.0 has been launched.
NativeScript
6.0 also brings support for AndroidX, this paves the road for many new features
that will come in the Android system. Here we are going to list out some
important features of NativeScript 6.0:
•
Webpack being the only way to develop. This also means
that by default Hot Module Replacement will be enabled.
•
Support For AndroidX
• "markingMode:
None" is now the default option when you create a new NativeScript
application.
Additionally,
all plug-ins are developed and maintained by the NativeScript team and used
templates are already compatible with these changes. The team will continue to
work on the amazing features as they progress towards the official release.
How can
anyone give it a try?
First, you
need to install the Released Candidate version of the CLI, you can use this
command line "npm install -g nativescript@rc". After that it becomes
so easy, this command line will perform all the required updates and packages
and changes in the project that are needed to adjust a pre 6.0 project with the
latest requirements.
This means
all you need to do is to update your project to execute the following in your
existing project by using the command line "tns migrate". If you want
to create a new compatible project you need to use the command line "tns
create <your create option> tns migrate".
What if
anyone finds a problem?
As soon as
anyone finds a problem please open an issue in the respective GitHub
repository. You just need to describe the problem in detail, you are
experiencing. A playground project or a sample application that demonstrates
the issues will dramatically improve the time for resolution.
This is all
about the new upcoming version of NativeScript 6.0. If you want to more details
about this then go and check out the official keynote.