Skip to content

Update useBackHandler.js #40

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

Merged
merged 1 commit into from
Feb 16, 2020
Merged

Conversation

ronal2do
Copy link
Contributor

@ronal2do ronal2do commented Oct 10, 2019

Summary

Every time this function was called you will add a new addEventListener, now we passed an argument to create a new listener only when receive a new function

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS ✅❌
Android ✅❌

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I mentioned this change in CHANGELOG.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)

Every time this function was called you will add a new `addEventListener`, now we passed an argument to create a new listener only when receive a new function
@pvinis pvinis merged commit 9810c16 into react-native-community:master Feb 16, 2020
@pvinis
Copy link
Member

pvinis commented Feb 21, 2020

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot mentioned this pull request Feb 21, 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.

2 participants