How Node.js handles ES6 modules

How Node.js handles ES6 modules Original author: Ruan Yifeng Date: August 20, 2020 Learning the JavaScript language, you will find that it has modules in two formats. One is the ES6 module, referred to as ESM; the other is the CommonJS module dedicated to Node.js, referred to as CJS. The two modules are not compatible.… Continue reading How Node.js handles ES6 modules

Getting started with Deno runtime: an alternative to Node.js

Getting started with Deno runtime: an alternative to Node.js Original author: Ruan Yifeng Date: January 26, 2020 In the past few days during the holidays, I have studied Deno . It is a replacement for Node.js. With it, Node.js may not be needed in the future. This article is a preliminary introduction to Deno, trying… Continue reading Getting started with Deno runtime: an alternative to Node.js

Getting started with React Hooks

Getting started with React Hooks Original author: Ruan Yifeng Date: September 1, 2019 React is the mainstream front-end framework. The v16.8 version introduces a new API called React Hooks , which overturns the previous usage. This API is the future of React and it is necessary to understand it in depth. This article talks about… Continue reading Getting started with React Hooks

Web Components Getting Started Example Tutorial

Web Components Getting Started Example Tutorial Original author: Ruan Yifeng Date: August 6, 2019 Components are the development direction of the front-end. Now popular React and Vue are both component frameworks. Since Google has mastered the Chrome browser, it has been promoting the browser’s native components, the Web Components API . Compared with third-party frameworks,… Continue reading Web Components Getting Started Example Tutorial