rfcs
rfcs copied to clipboard
RFCs for changes to React
This proposal introduces a set of APIs to help with automated testing of React applications. # [View formatted RFC](https://github.com/reactjs/rfcs/blob/test-selectors/text/0000-test-selectors.md)
Hi guys, I have added a proposal for reflection in React. Please let me know if I've done it correctly or not. Thank you so much.
In this RFC, I propose adding the `useForEach` Hook to React. ### [View RFC](https://github.com/pschiffmann/react-rfcs/blob/use-for-each/text/0000-use-for-each.md) # Summary The `useForEach` Hook provides a sane mechanism for calling React Hooks inside loops. #...
This RFC is a follow-up onto another RFC: `useIsolation` in https://github.com/reactjs/rfcs/pull/257 This is about performance & memoization [**>>> View rendered text
The proposal for light components. Light components are even lighter than function components. They don't accept props. They don't have states. They are just a simple JSX constant/variable that can...
Introduce `createStore` API for creating headless React instances that accept hooks and expose state for external consumption, enabling React's full hook system for state management outside components. ```jsx const counterStore...
This RFC proposes a way to reduce unnecessary re-renders by allowing components to subscribe only to the specific parts of state they actually use. The idea is to track property...
React now spans client and server with transitions, Suspense/use, and server actions, but there is no unified way to cancel stale async work. This RFC proposes an opt-in, web-standard cancellation...
# [View Rendered Text](https://github.com/probeiuscorp/rfcs/blob/main/text/0000-derived-contexts.md) Selectors for Context are an in-demand feature, but with a slightly different interface, can be made much more universally useful ([.slice as proposed here is similar](https://github.com/reactjs/rfcs/pull/119#issuecomment-512529871]))....
This RFC proposes allowing React Context to accept non-children props as the provided value. - Keeps `value` for backward compatibility. - If no `value` is passed, all non-children props become...