Moment For Technology

Front-end modularization

Modular Module in the Node. Js. Exportsexportsrequire () {code... } {code... } {code... } ES6 moduleExportExport DefaultTimportImport ()import is static (compile time) and require() is dynamic (run time). The import() function loads dynamically. Unlike require(), which loads asynchronously, the import() function loads synchronously. .

ES6 Interview Summary

Reference [link]MapMap is a set of key-value pairs with extremely fast lookup speed. For example, if you want to find a grade by the name of a classmate, you need two Arrays:

ES Promise object, write Promise. Smack the interviewer

A Promise is simply a container that holds the result of an event (usually an asynchronous operation) that will end in the future. Syntactically, a Promise is an object from which you can retrieve messages for asynchronous operations. Promise provides a unified API so that all asynchronous operations can be handled in the same way.

The React Large Project State Management Library

In order to be a comfortable wheel to use, I recently studied the React state management library, but only at the usage level, which is to choose which state management library to use from a comfortable perspective. The selection was based on a GitHub look at the popularity and usage of the state management library within the React community. Let me know which one we chose at the end of the post.

React source Part6 -- How to implement status updates

In the React app, we need to update the React app after a status update is triggered. In the React app, we need to update the React app after a status update is triggered. What is the concurrency model, and what are its advantages over the current model? How is asynchronous interrupt update implemented in React? How to turn on React Concurrent Mode (Concurrent Render...

Log file sync

When a user session (the foreground process) commits (or rolls back), the session's redo information needs to be brushed into the redo log file. The user session will use LGWR to write all the required redo requests in the log buffer to the redo log file. When LGWR is complete, it notifies the user of the process. The user session will have this wait event while waiting for LGWR to post it back to confirm that all redo changes are safely on disk.

About (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.