Skip to content
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

Drag-drop event with react hook #143

Merged
merged 21 commits into from
Oct 17, 2021
Merged

Conversation

hoangnm
Copy link
Owner

@hoangnm hoangnm commented Oct 16, 2021

the logic is based on this PR, #72

@hoangnm hoangnm added the type: feature enhancements or new features label Oct 16, 2021
src/Event/Event.js Outdated Show resolved Hide resolved
@pdpino pdpino mentioned this pull request Oct 16, 2021
@pdpino
Copy link
Collaborator

pdpino commented Oct 16, 2021

Cool refactor! I like the idea of moving into functional components and hooks.

However, doing this will be forcing versions react >= 16.8 and react-native >= 0.59 for developers, which would be a breaking change. Are you ok with this? (Hooks are relatively old anyway 😆)
Or maybe we could group more breaking changes and launch them in a v1.0.0 of the library?

@hoangnm I think you should decide this, and merge either this PR or #72 🚀

@hoangnm
Copy link
Owner Author

hoangnm commented Oct 17, 2021

I think we can go ahead with the hook approach. Version 0.59 was released in 03/2019, it's more than two years now and with react native, it's kind of outdated :D

@pdpino
Copy link
Collaborator

pdpino commented Oct 17, 2021

Yeah sounds fair

@hoangnm hoangnm merged commit 0beb4ab into master Oct 17, 2021
@hoangnm hoangnm deleted the feature/drag-drop-event-with-hook branch October 17, 2021 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancements or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants