-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Stop separately tracking focus for Input #859
Conversation
Using reducer instead of state hook because of possible bug with state hooks (briskml/brisk-reconciler#74).
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.
Thanks for adding the interface! That makes the boundary much more apparent, and exposes other potential issues like bad encapsulation. Based on that I have one more suggestion below.
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.
There is an unused variable warning that causes the CI to fail. You can run esy dune build @check
locally to emit all warnings.
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.
Looks great. Thanks for cleaning this up!
I renamed
dispatch
tofocus
andfocus
tofocusWithoutBlur
.(I accidentally screwed up the other pull request.)
I ran
esy format
and it didn't change anything, but hopefully it's happy now. I also am not sure what the unused variable mentioned is.