JS engine V8 v.8, Angular 9, Performance: the latest News of the FrontEnd development
Jan 22, 2020 08:00 · 610 words · 3 minute read
Hi! Let’s talk today about JS engine V8 v.8, Angular 9, and Performance. If this is your first time here and you want to learn Frontend and JavaScript, start right now by subscribing, and don’t forget to turn on the subtitles. [Music playing] In December V8 team released JS engine version 8, which contains bug fixes and performance improvements. V8 introduced also new JavaScript features: optional chaining, “nullish” coalescing. It’ll be landing in a Chrome and Node soon.
00:43 - The Results of the ‘State of JavaScript’ 2019 Survey have been collected, analyzed, and published. This is, nonetheless, the biggest JavaScript-specific survey. No surprises: React, TypeScript. Jest, GraphQL, and Next are on trends. Angular bumped to version 9, and it’s going to pack in some key improvements. Ivy is Angular’s new renderer, components, and CLI improvements. You can read the details in this article. On more exciting article regarding upcoming JS features is “Understanding JavaScript Decorators” by Mike Green.
01:31 - Decorators are a first-class concept that can be used to modify functions or classes by a simple directive. The author took Python as an example. However, using JavaScript decorators in your projects today requires some transpiler configuration. The article “Writing Asynchronous Tasks In Modern JavaScript” is an excellent introduction to the idea of asynchronous execution, starting from the legacy approaches to modern examples with promises and async/await. You can read this article at Smashing Magazine. [Music playing] The screencast “Building Async/Await from scratch using Generators” covers what’s involved in creating the async/await implementation from scratch on top of lower-level primitives.
02:29 - In case you’ve missed, Mathias Bynens gave a talk on cutting-edge JavaScript, like new Promise methods, numeric separators, new Array methods, etc. Take a look. Let’s talk again about “Understanding Design Patterns in JavaScript.” In this article, you can get acquainted with the following patterns: Module, Singleton, Factory, and Decorator. The very next point in my list is the article “What Is JavaScript Made Of?” by Dan Abramov. Here the author briefly describes notions that create his mental model of the language.
03:16 - In a Guide to improving “Third-Party JavaScript Performance,” you can find out how third-party JavaScript can affect performance and what you can do to keep it from slowing down your sites. [Music playing] James Sinclair, in his posted four-part series titled “Things I wish someone had explained about functional programming.” It covers Faulty Assumptions, Algebraic Structures, Type classes, Algebraic Data Types, and can help you to grasp functional programming. React Router hasn’t been changed for the last two years. But now React hooks were introduced. React has fundamentally changed how we can compose state and behavior, and in this article, you can read how React Router takes advantage of it.
04:21 - One more article regarding this topic is “Avoiding Recursive useEffect Hooks” by Jack Franklin. The dependency array passed to the useEffect hook tells React when the effect should be re-run. This post is about an easy tactic to avoid your useEffect calls becoming recursive when setting state. Python is perhaps more commonly associated with NLP. Nonetheless, the tutorial “Natural Language Processing in Node” focuses on getting started with NLP using Node and covers the “natural” library.
05:09 - The last but not least point for today is the article titled “Express will dominate the coming decade. Here’s why.” The author expressed his opinion on this topic and tried to explain why we won’t see the Django-like framework on Node soon. [Music playing] If you like this video, give it “thumbs up,” share it with your friends, subscribe to the channel and watch other episodes. Thanks for watching and stay curious. .