JavaScript News and Updates (August 2020)

Welcome everyone to our last summer digest from the front-end hemisphere. Today we will bring you up to date on the latest JavaScript news and updates. From our material, you’ll be tipped off about important releases for TypeScript and React, get familiar with the long-awaited roadmap for Angular, find out the development status of the progressive JavaScript toolchain named Rome, and become aware of the security issue detected in the widely used JS NPM package.

In the second part of our August news edition, we’ve traditionally prepared for you useful tips and articles, including some stuff on DHTMLX products, to broaden your JavaScript expertise.

Let’s get going!

New Tools and Updates

New Website and Major Update for Typescript

It has been claimed that the new website design has been inspired by helpful suggestions directly from active users of TypeScript online resources and by the ideas generated within the dev team. Now web developers and just coding enthusiasts can enjoy improved site navigation, experiment with TypeScript capabilities in the new playground, and work with better-structured TypeScript documentation.

But most importantly, the new version of TypeScript has finally been rolled out. The release of this fast-growing programming language does not include any breaking changes and provides a lot of useful stuff to boost its expressivity, productivity, and scalability. Starting from version 4.0, it is possible to apply Variadic Tuple Types and Labeled Tuple Elements, take advantage of Editor enhancements, apply Custom JSX Factories, and much more. Read the release article to find out more about the features implemented in v4.0.

Angular Gets a Roadmap

Google has spread great news for the Angular community: the popular platform for the development of web applications has been complemented with a roadmap. This feature will help the Angular development team to share valuable information on its engineering undertakings and facilitate interactions with the community. From now on, web developers have a possibility to keep track of all in-progress projects and future plans of the Angular team. The upcoming features specified on the roadmap are not tied to a particular Angular release and will be rolled out in minor and major releases upon their completion. Learn more in the official announcement.

Meet Rome Linter for JavaScript and TypeScript

Rome is a promising experimental JavaScript toolchain intended to be used as an alternative to popular front-end technologies like Babel, Jest, ESLint. Designed by Sebastian McKenzie, the mastermind behind Babel and Yarn, and the React Native dev team, Rome is expected to become an all-encompassing solution for all things that revolve around JS code processing. Apart from linter, it includes a variety of other functionalities such as compiler, bundler, testing framework, etc.

Recently, it has transpired that the Rome linter for JavaScript and TypeScript has become generally available and moved to beta status. According to the dev team, it already supports more than a hundred lint rules, including those that are important for working with TypeScript and React. This release still may include some vulnerabilities, but still, it may be worth trying. Read about Rome and how to get started with it in the documentation.

Security Vulnerability in Popular JavaScript NPM Package

Web developers and just coding enthusiasts have been concerned to find out that the highly demanded serialize-javascript NPM package has some security vulnerability. The problem was reported to GitHub back in May, but the news was announced just in early August. It has been said that the detected flaw could be used by malicious users for injecting arbitrary code. With more than 16 million downloads and hundreds of supported projects, this package is utilized to serialize JavaScript code to a superset of JSON. Fortunately, GitHub contributors have already worked out and issued a fix for this problem.

React 17 Release Candidate is Here

After more than two years of silence, the React development team has announced the 1st release candidate for React 17. But the most remarkable thing about this release is that it lacks the part considered as a centerpiece of any development-related product — new features. The main idea behind React 17 is to facilitate the process of migrating from the currently used version of the framework to a new one. Web developers will be able to gradually (or all at once) update their applications, as the changes introduced in the event delegation mechanism allow different React versions to coexist. The release also includes some breaking changes and a number of bug fixes. Learn more in this blog post.

Useful Tips and Articles

Tips on how to make your API more performant

How to create a JavaScript network diagram with DHTMLX

Common mistakes in working with JS promises

Customization of DHTMLX components

But when our customers require any assistance in using DHTMLX, whether in adding new features or integrating our solutions in apps, we are ready to help. Our custom software development company named XB Software provides a variety of services related to DHTMLX solutions. In this article, you can find four real cases of how DHTMLX Gantt and DHTMLX Scheduler can be integrated into project management applications by the XB Software team.

Understanding Functional Components vs. Class Components in React

In summary, August has become quite productive for development teams of TypeScript, Angular, React, and Rome, as they provided valuable updates to web developers who use these JavaScript technologies in their projects. You have also learned some helpful tips on how to make your API more productive and enhanced your insights into other JavaScript-related topics. Thanks for reading and see you in September.