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

Fixed return outside function error faced in react native #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ykumthekar4929
Copy link

Tried out this library for a project in react native and found a bug, have fixed it. Please review and merge.

@mapsam
Copy link
Member

mapsam commented Nov 6, 2017

Thanks for the PR @ykumthekar4929! Just so I understand, inline return statements fail in react native? Would you mind providing the error here so others running into the issue can search for it? Will plan on a merge and patch release shortly.

@nitaliano
Copy link

nitaliano commented Nov 7, 2017

@mapsam I've successfully used this library with RN and inline return statements do work in RN.

@chaosking7
Copy link

How did you fix it?

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.

None yet

4 participants