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

Remove <Provider />, add preload() function #1

Merged
merged 4 commits into from
Mar 15, 2021
Merged

Remove <Provider />, add preload() function #1

merged 4 commits into from
Mar 15, 2021

Conversation

cawfree
Copy link
Owner

@cawfree cawfree commented Mar 15, 2021

The Provider didn't add much to the functionality of react-native-wormhole since most of the download logic is stateless and can be embedded within a call to createWormhole. Additionally, by extracting this logic we were able to expose a preload() function to improve performance.

@cawfree cawfree merged commit 8028553 into main Mar 15, 2021
@cawfree cawfree deleted the develop branch March 15, 2021 02:00
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