-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reset form-like components when the parent <form>
resets
#2004
Merged
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f3b6586 - Browse repository at this point
Copy the full SHA f3b6586View commit details
Commits on Nov 8, 2022
-
This splitsup the raw `[state, dispatch]` to separate `useActions` and `useData` hooks. This allows us to make the actions themselves simpler and include logic that doesn't really belong in the reducer itself. This also allows us to expose data via the `useData` hook that doesn't belong in the state exposed from the `useReducer` hook. E.g.: we used to store a `propsRef` from the root `Listbox`, and update the ref with the new props in a `useEffect`. Now, we will just expose that information directly via the `useData` hook. This simplifies the code, removes useEffect's and so on.
Configuration menu - View commit details
-
Copy full SHA for 4eafa39 - Browse repository at this point
Copy the full SHA 4eafa39View commit details -
refactor Tabs, ensure function reference stays the same
If the `isControlled` value changes, then the references to all the functions changed. Now they won't because of the `useEvent` hooks.
Configuration menu - View commit details
-
Copy full SHA for 7039d48 - Browse repository at this point
Copy the full SHA 7039d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ed1dac - Browse repository at this point
Copy the full SHA 4ed1dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c7f02 - Browse repository at this point
Copy the full SHA 09c7f02View commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4dc63fe - Browse repository at this point
Copy the full SHA 4dc63feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be25d5 - Browse repository at this point
Copy the full SHA 5be25d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5854dcf - Browse repository at this point
Copy the full SHA 5854dcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5ee54 - Browse repository at this point
Copy the full SHA cc5ee54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b31cf6 - Browse repository at this point
Copy the full SHA 7b31cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2005f1a - Browse repository at this point
Copy the full SHA 2005f1aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.