Best of DOMApril 2022

  1. 1
    Article
    Avatar of pointerPointer·4y

    facebook/lexical: Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.

    Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality.

  2. 2
    Article
    Avatar of logrocketLogRocket·4y

    How to escape from memory leaks in JavaScript

    A memory leak is an allocated piece of memory that the JavaScript engine is unable to reclaim. Memory leaks are caused due to flaws in your logic, and they make way for poor performance in your application. In high-level languages like JavaScript, memory release is handled by the garbage collector. If you understand how memory allocation and release happens in JavaScript, it’s very easy to solve memory leaks.

  3. 3
    Article
    Avatar of devdojoDevDojo·4y

    ReactJS Virtual DOM and Reconciliation - Explain Like I'm Five

    ReactJS is a web app that uses the DOM (Document Object Model) to create web pages. DOM is represented as a tree structure document object that can be queried and updated. A new Virtual DOM tree is created whenever the element's state changes. Virtual DOM is created as a copy of the original DOM.

  4. 4
    Article
    Avatar of hashnodeHashnode·4y

    The one thing that no one properly explains about React — Why Virtual DOM

    Virtual DOM is an abstraction of the DOM that makes it easier for developers to work with React. Virtual DOM can be used to group DOM changes into one, and then send them to the real DOM. It can also be used in conjunction with React to make it easier to create React-based applications.