I'm encountering a situation at a customer: they want to do A/B Testing.
As far as I know, this most of the time happens at LoadBalancer level (Kubernetes) redirecting users to a certain version of the application (for example with new version of Gmail and a release is being rolled out).
Now with web components, this customer wants to have a "dom-if" kind of situation where features are turned on if a certain requirement is met IN the component. This will add overhead of course.
I wonder if this is the way to go. Their reasoning of this customer is that the component can be used in 100s of applications and then creating a build and working on it, might be too cumbersome and on the microlevel (as in IN the component) would be the best way to go. They are following Linkedin/AirBnB.
As far as I know these companies are not using Web Components.
The question is: what is advisable ? Doing the A/B testing on microlevel or on application-level (and use load balancers like kubernetes).