NativeScript 8.4.0 is now available. NativeScript enables users to access native APIs directly from JavaScript. Currently, the framework provides iOS and Android runtimes for rich mobile development and can be used for a variety of different use cases.

Features

Performance Improvements

Breaking Changes

utils/utils is just Utils


import { layout } from '@nativescript/core/utils/utils'

import { Utils } from '@nativescript/core'

Utils.layout

This affects some plugins. If you use a plugin that has this problem, you can do the following:

1. Temporarily add a quick webpack alias to ease:


webpack.chainWebpack(config => {
    config.resolve.alias.set('@nativescript/core/utils/utils', '@nativescript/core/utils');
    config.resolve.alias.set('tns-core-modules/utils/utils', '@nativescript/core/utils');
    config.resolve.alias.set('tns-core-modules', '@nativescript/core');

2. Submit a pull request to the plugin author.

Weak Ref type

Core uses the latest WeakRef type, you can update tsconfig to the latest targets.


"compilerOptions": {
  "target": "es2017",
  ...
  "lib": ["es6", "dom"],

"compilerOptions": {
  "target": "es2020",
  ...  
  "lib": ["esnext", "dom"],

For more details, please check: https://github.com/NativeScript/NativeScript/releases/tag/8.4.0-core

#NativeScript #released #crossplatform #native #application #framework #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *