react
react copied to clipboard
The library for web and native user interfaces.
Stacked on #29038. This lets us expose the component stack to the error reporting that happens here as `console.error` patching. Now if you just call `console.error` in the error handlers...
## Summary We want to move more of the style parsing boundary into the Fabric renderer, instead of the outputs of the JavaScript preprocessing functions used by Paper. When using...
## Summary This doesn't include a fix; it just adds a failing test. The test shows React renders duplicate content when `hydrateRoot` renders `null` and then updates the actual content....
We previously had two slightly different concepts for "current fiber". There's the "owner" which is set inside of class components in prod if string refs are enabled, and sometimes inside...
## Summary React compiler is compiling ``` async function MyApp({ something }) { for await (const deferredState of foo) { // do stuff } } ``` into ``` async function...
## Summary For users with Yarn defaulted to >1 / Berry, setting up the repo will result in the creation of the `.yarn/` directory, `yarn.lock` updates, and `package.json` edits. This...
React version: 8.3.0 ## Steps To Reproduce 1. Repeat content with the same key 2. Get a warning (in your browser dev tools console): >Each child in a list should...
## Summary When using the React Compiler, Fast Refresh is broken when importing a non-JavaScript file, .e.g. ```jsx import content from "./content.md"; export const App = () => { return...
@poteto asked me to create this issue for discussion. It would be useful for library authors if the React Compiler could work with older versions of React. Libraries often need...
The plugin options parser lowercases all option values : https://github.com/facebook/react/blob/94896cb8c5b1dfc80aa947ac9b273b6b9447571f/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L201 This breaks the `runtimeModule` option on case-sensitive filesystems (and the module path happens to contain uppercase characters).