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

Pass MuxOptions in initialize instead of the hook itself #233

Merged

Conversation

kevin-kp
Copy link
Contributor

This PR changes the useMux hook to allow the MuxOptions to be passed with the initialize instead of directly passing it into the hook itself.
This is because the THEOplayer instance could be destroyed and recreated, but the options remained the old values.

Copy link

changeset-bot bot commented Dec 19, 2024

🦋 Changeset detected

Latest commit: 1f418fb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theoplayer/react-native-analytics-mux Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tvanlaerhoven tvanlaerhoven self-requested a review December 19, 2024 10:57
@tvanlaerhoven tvanlaerhoven added the bug Something isn't working label Dec 19, 2024
@tvanlaerhoven
Copy link
Member

@kevin-kp Thank you for your contribution Kevin!

@tvanlaerhoven tvanlaerhoven merged commit 6d903bb into THEOplayer:main Dec 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants