Sitecore / jss

Software development kit for JavaScript developers building web applications with Sitecore Experience Platform
https://jss.sitecore.com
Apache License 2.0
263 stars 275 forks source link

[Next.js] FEAAS / BYOC Components are not visible on the page with running A/B test #1914

Closed illiakovalenko closed 2 months ago

illiakovalenko commented 2 months ago

Description / Motivation

BYOC / FEAAS components are not rendered on the page when A/B testing is applied This is happening due to the wrong order of componentThemes, componentProps plugins. They should be executed after the personalizePlugin, since the personalizePlugin updates layout data and sets the proper variant, while themes/props plugins were executed using non-personalized data

Testing Details

Types of changes