-
Notifications
You must be signed in to change notification settings - Fork 2.9k
docs: base state hooks RFC #35623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: base state hooks RFC #35623
Conversation
227bbb8 to
948a0d2
Compare
📊 Bundle size report✅ No changes found |
|
Pull request demo site: URL |
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/base-state-hooks.md
Show resolved
Hide resolved
26542d6 to
82bd448
Compare
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/base-state-hooks.md
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/behavior-state-hooks.md
Outdated
Show resolved
Hide resolved
docs/react-v9/contributing/rfcs/react-components/convergence/base-state-hooks.md
Show resolved
Hide resolved
|
@dmytrokirpa in offline we discussed risks of shipping new hooks in the stable packages.
I don't have strong opinions on this (except that we shouldn't re-export them from the suite package from day 1), so feel free to propose options based on the discussion yesterday. |
@layershifter Updated the behavior-state-hooks RFC with several key changes: 1. Naming Convention Change:
2. Exports and Naming Section (new):
3. Release Strategy Section (new):
Commit: 52a0480 |
Hotell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What’s in this PR
This PR adds the RFC
“Component Behavior State Hooks”as a separate proposal.It is extracted from the broader
“RFC: Unstyled Components”work in #35464, so reviewers can discuss the behavior-state-hooks proposal independently of the other changes in that PR.The original PR also contains additional context and illustrative examples (including related patterns explored alongside unstyled components). If you want to see the broader exploration and code samples, refer to the linked PR.
What’s not in this PR
No implementation changes; this is documentation/RFC only.