You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
The current API uses a component and callback which essentially forces the use of a class component. This is fine for smaller changes, but it doesn't compose well with other React HOC-based libraries.
An example with code splitting and conditional data fetching:
This can allow the A/B test to be completely transparent to the wrapped component, and it can be easily added or removed without adding custom wrapper components.
This should be possible to do while sharing code with the existing component, possibly as a simple wrapper.
jacobmoretti, christinebrass, pmdarrow, acmei, th3fallen and 6 more