Best of DOM2022

  1. 1
    Article
    Avatar of communityCommunity Picks·4y

    Make your React apps fast again

    Profiler can help you improve performance of a React application. We will go over ways to improve the performance of an app, including some pre-optimization techniques. We can use the Profiler in the React DevTools to measure performance of our apps. To use the profiler, you must Some are asynchronous, such as background HTTP calls, while others occur by user or You.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    How browsers work

    How browsers work Behind the scenes of modern web browsers. Tali Garsiel's primer on the internal operations of WebKit and Gecko. Chrome, Firefox and Safari make up around 71% of global desktop browser usage. Android Browser, iPhone and Chrome constitute around 54% of usage.

  3. 3
    Article
    Avatar of medium_jsMedium·4y

    11 Advanced React Interview Questions you should absolutely know (with detailed answers)

    React is a tool that allows you to add and remove elements from the DOM. It can be used to make changes to the DOM without having to change the entire DOM. The tool can also be used in conjunction with other tools to make it easier for people to create and edit new elements.

  4. 4
    Article
    Avatar of tuts_plusTuts+·4y

    Learn React 18: The Complete React Developer Course

    Learn React 18: The Complete React Developer Course is 3 hours 40 minutes long and it’s split into 27 lessons in total. In React, we primarily use props (short for properties) to pass data to our components. The easiest way to understand props is to think of them like the attributes you can pass to HTML elements in web development.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How the JavaScript DOM Works – A Practical Tutorial

    DOM is a Web API that allows developers to use programming logic to make changes to their HTML code. In this tutorial, you'll learn what the DOM is and how it works in a practical way. In our style-css file, we'll first of all set our general styles like this. Then, we will style our colors and colors.

  6. 6
    Article
    Avatar of communityCommunity Picks·4y

    11 Advanced React Interview Questions you should absolutely know (with detailed answers)

    React code is written in JSX, but no browser can execute JSX directly as they are built to read-only regular JavaScript. Virtual DOM is a concept where a virtual representation of the real DOM is kept inside the memory. Key helps React identify which items have changed, are added, or are removed, enabling it to reuse already existing DOM elements.

  7. 7
    Article
    Avatar of sitepenSitePen·4y

    Intro to HTML-first Frontend Frameworks

    Qwik API allows Qwik to bootstrap with a very small amount of framework code. Qwik is used for builder.io which is a complex, interactive, stateful web application. Marko 6 is in the works and it will be interesting to see what they achieve.

  8. 8
    Article
    Avatar of tuts_plusTuts+·4y

    Learn Modern JavaScript Fundamentals in 7 Hours—Free Course

    Learn Modern JavaScript Fundamentals in 7 hours 30 minutes long, and it’s split into 78 lessons in total. You’ll find it's a great resource that you will come back to often so make sure you bookmark the parts that interest you.

  9. 9
    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.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    JavaScript DOM Tutorial – How to Build a Calculator App in JS

    The Document Object Model (DOM) is a logical structure that defines how elements in a document can be manipulated and changed. You must first learn how to access elements in the DOM before you can manipulate it. How to create a DOM Element JavaScript requires that any element be created before it can be added to the DOM. For this, we use the document.createElement() method.

  11. 11
    Article
    Avatar of hashnodeHashnode·4y

    React.js Deep Dive as a beginner

    React is an Open Source project created by Facebook. It is one of the most popular JavaScript library with over 187k stars on GitHub. It's used to build user interfaces on the font end. Let's see why you should use react over vanilla JavaScript or any other library/frameworks.

  12. 12
    Article
    Avatar of changelogChangelog·4y

    aidenybai/million: Virtual DOM into the future!

    Million makes creating user interfaces as easy as React, but with faster performance and smaller bundle size for the end user. Million is being used at companies like Wyze and open source work like Quartz, TinyPages, and more. We expect all Million contributors to abide by the terms of our Code of Conduct.

  13. 13
    Article
    Avatar of hashnodeHashnode·4y

    How to Debug Better with Chrome

    Google Chrome is probably the most widely used and popular web browser among developers. It has gradually become the preferred web browser for most developers to test and debug their websites and web apps. Google Chrome provides developers with the ability to debug most web applications with the built-in developer tools (aka DevTools) within the browser.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    JavaScript DOM Manipulation Course

    In website development, DOM stands for Document Object Model. It is a programming interface that allows us to create, change, or remove elements from a website document. DOM manipulation is when you use JavaScript to add, remove, and modify elements of a website. Watch the full course below or on the freeCodeCamp.org YouTube channel (3-hour watch)

  15. 15
    Article
    Avatar of asayerasayer·4y

    React Fiber explained

    Facebook began the creation of React Fiber in 2015(It is currently the default reconciler). The literal implementation of a fiber is an object. It is simply a Javascript object that contains information about a react component. The return fiber is the fiber to which the program should return after processing the current one.

  16. 16
    Article
    Avatar of devtoDEV·4y

    Reactjs Protected Route

    React Router provides a convenient way to define protected routes that require authentication. By default, these routes are treated as public routes and anyone can access them. To create a protected route, you need to use the React Router Route component and specify the path that you want to protect.

  17. 17
    Article
    Avatar of communityCommunity Picks·4y

    Building a Micro-frontend Framework

    Micro-frontend architecture is a design approach in which a front-end app is decomposed into individual, semi-independent “microapps’ working loosely together. The idea is that the individual microapps within a macroapp (as we shall call the composed, top-level app) are analogous to the various iframes. There is still a long laundry list of issues to be aware of when using iframe.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications

    Test-Driven Development (TDD) requires you to pre-specify the output your intended program must produce to pass the test of functioning the way you envisioned. This tutorial will show you all you need to cd path/to/addition-calculator-jest-project Step 4: Create a package, Initialize a package.json file for your project. If your package manager is Yarn, run: yarn add jest --save-dev.

  19. 19
    Article
    Avatar of codegurucodeguru·4y

    Introduction to Web Components API

    Web components are HTML elements that leverage the power to create new HTML tags and extend existing tags. They can be easily created using the browser’s API and do not have a dependency on any third-party library or framework. Web components are non-intrusive and have their styling and structure. The power of web components lies in their API.

  20. 20
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Event Bubbling in JavaScript – How Event Propagation Works with Examples

    Event Bubbling is a concept in the DOM (Document Object Model) It happens when an element receives an event, and that event bubbles up (or you can say is transmitted or propagated) to its parent and ancestor elements. To prevent event bubbling, you use the stopPropagation method of the event object. When handling events, an event object is passed to the handling function. When handling an event event is passed.

  21. 21
    Article
    Avatar of communityCommunity Picks·4y

    How to Create Protected Routes in React with React-Router V6

    React Router went through a ton of changes in version 6, and I mean a lot of changes so much so that if you weren't paying attention you'd probably think you are using a new library entirely! In this article, I show you how to build a react app with protected routes using react-router v6.

  22. 22
    Article
    Avatar of communityCommunity Picks·3y

    JavaScript Events: Bubbling, Capturing, and Propagation

    JavaScript Events: Bubbling, Capturing, and Propagation are examples of how events travel through the Document Object Model (DOM) tree. The DOM tree is the structure which contains parent/child/sibling elements in relation to each other. You can set listeners to watch for these events that will trigger your desired functionality.

  23. 23
    Article
    Avatar of syncfusionSyncfusion·4y

    React Router vs. React Router DOM

    React Router DOM Routing is an essential technique for navigation among pages on a website based on user requests and actions. A separate library named React Router enables routing in React applications and allows defining multiple routes in an application. This article addresses this confusion by analyzing their differences and where to use which package.

  24. 24
    Article
    Avatar of changelogChangelog·4y

    Welcome To Partytown

    Partytown is a lazy-loaded library to help relocate resource intensive scripts into a web worker, and off of the main thread. The main thread should be dedicated to your code, and any scripts that are not required to be in the critical path should be moved to a Web worker.

  25. 25
    Article
    Avatar of asayerasayer·4y

    Alternatives to React: Solid JS

    React is the highest JavaScript library in awareness and usage according to State of JS 2021. This massive adoption has created job openings on the framework and kept its developers in high demand. But even with its popularity, React has a lot of competition as new JavaScript frameworks are being built every day that try to be more efficient and improve front-end development.