Skip to content

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

Merged
EmilianoSanchez merged 21 commits into
developmentfrom
new_SplitFactoryProvider_component
Jan 16, 2024
Merged

Add SplitFactoryProvider component and deprecate SplitFactory component and withSplitFactory HOC#182
EmilianoSanchez merged 21 commits into
developmentfrom
new_SplitFactoryProvider_component

Conversation

@EmilianoSanchez

@EmilianoSanchez EmilianoSanchez commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

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
@sonarqube-pull-requests

Copy link
Copy Markdown

@EmilianoSanchez
EmilianoSanchez merged commit 5fa09ae into development Jan 16, 2024
@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