Best of DOMAugust 2021

  1. 1
    Article
    Avatar of chromeChrome Developers·5y

    CSS Grid tooling in DevTools

    Chrome DevTools and Edge DevTools are adding CSS Grid tooling. The tooling was a joint effort between Chrome and Edge teams. It will help developers achieve better responsive design without complicated alignment hacks or JavaScript-assisted layout. There are three main features for CSS Grid:Grid-specific, persistent overlay that helps with dimensional and ordering information Badges in the DOM Tree that highlight CSS Grid containers and toggle Grid overlays.

  2. 2
    Article
    Avatar of hashnodeHashnode·5y

    React isn't fast, let's learn why

    ReactJS was created in a way that just re-renders the entire component to deal with data inconsistency after any update to the state in the component or its child. Virtual DOM is a DOM-like structure that can be updated easily as changes in this virtual DOM aren't tied to a browser screen that also needs to be updated.

  3. 3
    Article
    Avatar of devdojoDevDojo·5y

    Understanding the React useRef() Hook

    Use the useRef() function to access the DOM in a new way. Use the useEffect function to add a new line to the bottom of the page. The useState() function is used to add the new line. The ref() function returns a new DOM element that can be used to access a previous DOM element.