React TL;DR – a human filter for most useful React content.

  • Mariusz Marcak

    React useRef By Example: What It Is, Why We Need It

    There are two use cases of useRef: Directly access DOM nodes to perform DOM operations imperatively Persist a value across rerenders, throughout the ...

    React useRef By Example: What It Is, Why We Need It
  • Mariusz Marcak

    10 React security best practices

    Default XSS Protection with Data Binding Dangerous URLs Rendering HTML Direct DOM Access Server-side Rendering Detecting Vulnerabilities in Dependencies Injecting JSON State Detecting ...

    10 React security best practices
  • Mariusz Marcak

    React Portals in 3 Minutes

    React Portals – An API for rendering components outside your app’s DOM hierarchy. Perfect for scenarios where CSS styles are restraining your elements. ...

    React Portals in 3 Minutes
  • Mariusz Marcak

    Thinking With Portals

    Portals allow us to insert a child anywhere in the DOM tree and visually “escape” a parent container (eg. modals, tooltips, popups) A ...

    Thinking With Portals