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

Add SplitFactoryProvider component and deprecate SplitFactory component and withSplitFactory HOC #182

Merged
merged 21 commits into from
Jan 16, 2024

Conversation

EmilianoSanchez
Copy link
Contributor

@EmilianoSanchez EmilianoSanchez commented Jan 11, 2024

React SDK

What did you accomplish?

  • Add SplitFactoryProvider as a drop-in replacement for SplitFactory. SplitFactoryComponent is a fixed version of SplitFactory, where side effects are moved to the commit-phase. This fixes issues related to factory reinitialization in development mode and allows the use of the library on server side.

How do we test the changes introduced in this PR?

  • Unit tests.

Extra Notes

@EmilianoSanchez EmilianoSanchez requested a review from a team as a code owner January 11, 2024 17:16
@EmilianoSanchez EmilianoSanchez force-pushed the new_SplitFactoryProvider_component branch from e896839 to dc6cdf7 Compare January 11, 2024 18:23
@EmilianoSanchez EmilianoSanchez force-pushed the new_SplitFactoryProvider_component branch from dc6cdf7 to 0b869f9 Compare January 11, 2024 20:43
Copy link

@EmilianoSanchez EmilianoSanchez merged commit 5fa09ae into development Jan 16, 2024
7 checks passed
@EmilianoSanchez EmilianoSanchez deleted the new_SplitFactoryProvider_component branch January 16, 2024 15:22
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