Skip to content

Conversation

retyui
Copy link
Contributor

@retyui retyui commented Nov 26, 2024

Summary

I see that my component is re-render 3 times on keyboardDidShow event as useKeyboard has 3 setState invokes
Using a single state should solve this problem on all old and modern ver. or react

Test Plan

...

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android
Web

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I've created a snack to demonstrate the changes: LINK HERE

@retyui retyui closed this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant