react
react copied to clipboard
The library for web and native user interfaces.
When the browser parses html it will create a element even if the tag is not present. If you render at the root (either the document itself or the html...
Bumps [terser](https://github.com/terser/terser) from 4.6.13 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Bumps [terser](https://github.com/terser/terser) from 4.6.7 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
**Do you want to request a *feature* or report a *bug*?** - feature **What is the current behavior?** Code from [Introducing Hooks](https://reactjs.org/docs/hooks-intro.html): ```javascript import { useState } from 'react'; function...
I'm using `useMemo` hook with an empty dependency array in a component with`lazy` + `Suspense`, so I expect the function inside `useMemo` will be called once, but sometimes the function...
# To people coming from search: please [read this page first](https://reactjs.org/warnings/invalid-hook-call-warning.html). It contains most common possible fixes! **Do you want to request a *feature* or report a *bug*?** Enhancement **What...
In a world where portions of the component tree can hydrate and become intractable with child components still being suspended, does documentation / guidance exist on how to handle these...
Stacked Diff. Only Look at [this commit](https://github.com/facebook/react/pull/24954/commits/dd0e8438290b2acf5142f9e7214cc5f644937dbb) --- When a tracing marker is deleted: * We add {type: 'marker', name: markerName, endTime: time} to the tracing marker's deletions array and...
This PR adds the `onMarkerIncomplete` callback for tracing marker name changes. Specifically, this PR: * Adds the `onMarkerIncomplete` callback * When a tracing marker's name changes, call `onMarkerIncomplete` with the...