rfcs
rfcs copied to clipboard
RFCs for changes to React
Adds first class support for reading the result of a JavaScript Promise using Suspense: - Introduces support for async/await in Server Components. Write Server Components using standard JavaScript `await` syntax...
This proposal proposes to - Provide [`AbortSignal`](https://mdn.io/AbortSignal) when executing effects. - Provide a way to stop async effects automatically. ```js useEffect(function* () { setLoading(true) // React automatically stops if the...
This is the global state implemented using batch updates. The usage is similar to useState, simpler than context, and the usage scenarios are different. [Here is my implementation and usage...
[View formatted RFC](https://github.com/brillout/rfcs/blob/main/text/0000-inject-to-stream.md).
- Start Date: 2023-07-19 - RFC PR: (leave this empty) - React Issue: (leave this empty) # Summary This proposal suggests simplifying the usage of `startTransition` in `React` by introducing...
- Start Date: 2023-07-04 - RFC PR: (leave this empty) - React Issue: (leave this empty) # Summary Introduce a built-in component for animations in React. # Basic example Proposed...
NOTE: This RFC is _extremely_ stale. I did not maintain it after the first month but I have continued my research into this subject. I would still like to talk...
In this RFC, we propose extends `memo` function to support mutable event handlers. ### [View RFC](https://github.com/wmzy/react-rfcs/blob/main/text/0000-extends-memo-for-event-handler.md)
The proposed feature is to add a new syntax for dynamically adding classes to React components. This syntax would be similar to the `ngClass` directive in Angular, allowing developers to...