Best of DOM2023

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    8 React Projects to Build in 2023

    8 React Projects to Build in 2023 will show you what's possible to make with React. Check out the React Bootcamp to see how to make each of them step-by-step. Todo apps are a great project to begin with because you don't need any third-party libraries to build them.

  2. 2
    Article
    Avatar of communityCommunity Picks·3y

    How React 18 Improves Application Performance – Vercel

    How React 18 Improves Application Performance - Vercel Engineering Wednesday, July 19th 2023. Learn how concurrent features like Transitions, Suspense, and React Server Components improve application performance. We'll explore how these latest features impact and improve your application's performance.

  3. 3
    Article
    Avatar of syscolabsslSysco LABS Sri Lanka·3y

    The Art of Micro Frontends

    The Art of Micro Frontends is a modular architecture design for web. The concept of micro frontends is an extension of the micro services used in backend. Companies such as Netflix, Zalando and Capital One have pushed the pattern to the front, preparing the groundwork for micro-frontends.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Manipulate the DOM in JavaScript – Most Commonly Used Techniques

    Learn about common techniques for manipulating the DOM in JavaScript, such as changing the content of an element, manipulating the class attribute, and setting CSS styles.

  5. 5
    Article
    Avatar of hackernoonHacker Noon·3y

    Is Your Code Slow?: Avoid These 19 Common JavaScript and Node.js Mistakes

    We're spotlighting the top 19 performance pitfalls that can secretly slow down JavaScript and Node.js apps. We'll explore what causes them through illustrative examples and actionable solutions to optimize your code. The good news?

  6. 6
    Article
    Avatar of communityCommunity Picks·3y

    Patterns for Reactivity with Modern Vanilla JavaScript

    Patterns for Reactivity with Modern Vanilla JavaScript are Core to Web Development. ‘Reactivity’ is how systems react to changes in data. Reactive Object Properties with Proxies in JavaScript can be the foundation for performing reactivity after setting or getting properties on an object.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    Building a Design System with React Web Components

    Building a Design System with React Web Components is a simple way to build a universal design system with React. We compiled React to Web Components using wrappers, polyfills and tooling to make them work in every context. The implementation turned out tougher than we anticipated but we're happy with the result.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    innerHTML vs innerText vs textContent – What's the Difference?

    Learn about the differences between innerHTML, innerText, and textContent properties in HTML and how they handle HTML markup and content. Be cautious when using innerHTML due to security risks. innerText focuses on rendered text content, while textContent ignores HTML tags and includes hidden content. Update content using all three properties.

  9. 9
    Article
    Avatar of amplicationAmplication·3y

    Using Parallel Processing in Node.js and Limitations

    Node.js uses a synchronous event loop that takes in code from the call stack and executes it. The event loop delegates all I/O-related operations to a set of threads that perform these operations in parallel. This means that while the event loop executes a CPU-intensive process, applications are blocked from further execution.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    "Mastering Re-rendering in React: A Beginner's Guide"

    A Beginner's Guide to Mastering Re-rendering in React "Navigating the Fundamentals of Reconciliation and Techniques for Optimizing Re-rendereding" The highlight of the topic will be covered in this blog post.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Using Event Listeners in JavaScript

    Learn how to use the addEventListener() method in JavaScript to add event handlers to HTML elements. Discover its advantages and various use cases for web development.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    HTMLCollection vs NodeList – What's the Difference?

    Learn about HTMLCollection and NodeList, their similarities and differences, and when to use each type of collection.

  13. 13
    Article
    Avatar of communityCommunity Picks·3y

    The Complete Guide to Becoming a Web Developer: Part 3

    The Document Object Model, or DOM, is a programming interface for HTML and XML documents. When you load a web page, the browser fetches the HTML and parses it, creating the DOM. This DOM is stored in the browser’s memory, not as a string, but as a set of interconnected objects.

  14. 14
    Article
    Avatar of svelteSvelte Blog·3y

    svelte.dev: A complete overhaul

    svelte.dev: A complete overhaul of the old website. The new site comes with accessibility fixes, new features and bottom navbar. The website now has a dark mode toggle, which is also synced with your OS's dark mode settings. It was reimplemented to upgrade to CodeMirror 6.

  15. 15
    Article
    Avatar of medium_jsMedium·3y

    Callback Refs in React

    Callback Refs are a way to set a ref to a function instead of directly to a DOM element. This function is called with the component instance or DOM element as its argument when the component is mounted or updated. Callback refs are particularly useful when you need to access properties or methods that are not directly available through props.

  16. 16
    Article
    Avatar of syncfusionSyncfusion·3y

    Virtual DOM vs. Shadow DOM

    This post discusses the definitions of virtual DOM and shadow DOM, highlighting their significant differences. It explains that virtual DOM is used for solving performance issues, while shadow DOM is used for encapsulating and isolating elements. It also mentions that React.js and Vue.js are JavaScript libraries that implement virtual DOM.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    The truth about CSS selector performance

    The way you write CSS selectors does play a role in how browsers render your web pages. This heavily depends on the web page, the size of the DOM tree, the amount of CSS rules, and whether the DOM changes often. Microsoft Edge DevTools has a Performance tool that can be a real eye opener when your app starts feeling slow.

  18. 18
    Article
    Avatar of builderiobuilder.io·3y

    Unveiling the Magic: Exploring Reactivity Across Various Frameworks

    React can be broadly defined as the automatic update of the UI due to a change in the application's state. The framework does not need to execute any code and knows exactly which DOM nodes need to be updated. In real-world applications, the state, event, and binding are not always in the same component.

  19. 19
    Article
    Avatar of asayerasayer·3y

    Exploring Million.js, a high-performance web framework

    Million.js is a minimalistic JavaScript framework designed to handle DOM elements efficiently. Million.js uses a granular approach by updating only the necessary parts of the DOM. The Block virtual DOM is based on the concept of Blockdom, which facilitates virtual DOM diffing for re-rendering the actual DOM.

  20. 20
    Article
    Avatar of communityCommunity Picks·3y

    PHP: PHP 8.3.0 Release Announcement

    The PHP 8.3 release announcement includes changes to PHP constants, the addition of the #[\Override] attribute, and new methods in the Randomizer class. It also mentions updates to DOM, IntlCalendar, LDAP, mb_str_pad, posix, ReflectionMethod, socket, ZipArchive, and other functions and constants.

  21. 21
    Article
    Avatar of communityCommunity Picks·3y

    Teleportation in React: Positioning, Stacking Context, and Portals

    React: Positioning, Stacking Context, and Portals are all available in React. We need Portals to escape the "clipping" of content when rendering elements inside elements with. The real thing is not yet available, so let's just teleport components in the DOM for now.

  22. 22
    Article
    Avatar of joshwcomeauJosh W Comeau·3y

    The Perils of Hydration

    The Perils of Hydration: Understanding how Gatsby/Next manage server-side rendering and hydration Introduction I ran into the strangest issue recently. In production, the bottom of my blog was doing something… unintended: A bit of digging into the Elements tab in the devtools revealed the culprit… My React component was rendering in the wrong spot.

  23. 23
    Article
    Avatar of lnLaravel News·3y

    Livewire v3 Has Been Released

    Livewire v3 has been released. Caleb Porzio demoed a ton of the new features in his talk at Laracon. The core of Livewire has been totally rewritten from scratch. The new core architecture will also be much easier to maintain for Caleb and the Livewire core contributors.

  24. 24
    Article
    Avatar of asayerasayer·3y

    An Introduction to React Portals

    React Portals is a portal that paves the way for some sort of component to pass through safely without bothering other components. This article will explain everything about the component and how to use it in your code. The main purpose is to render components onto the webpage that may be in the form of an overlay.

  25. 25
    Article
    Avatar of asayerasayer·3y

    React Social Logins with Passport JS

    Passport.js is a popular authentication middleware for Node.js that provides a simple and flexible way to authenticate requests made to a web application. It can be used with various authentication mechanisms, such as username and password, two-factor authentication, or social media login, to provide a secure and flexible authentication system.