
11/22/2022
What this post added
This post details the implementation of a server-driven UI architecture for the Shop App's Store Screen. Previously client-driven, the architecture now allows the server to control UI layout and components, enabling personalization for merchants and faster experiment launches. The server-side architecture includes a template processing layer, orchestrator, data loading layer, and GraphQL layer. The client-side architecture features components like ServerDrivenStoreScreen, StoreSectionContainer, ProductSection, CollectionsSection, ProductShelf, and CollectionShelf. Key GraphQL calls include StoreSections and ShopInfo. The author contributed to ProductGrid, ProductsSection, StoreSectionContainer components, and the StoreSections query and hook.