Shopify has developed and enhanced its hosting solution for Hydrogen custom storefronts, known as Oxygen. This involves leveraging Hydrogen, a React framework for custom storefronts, and integrating it with cutting-edge technologies like React Server Components and component-level data fetching. This post details best practices for using React Server Components (RSC) within Hydrogen applications, emphasizing a default-to-shared component strategy, judicious use of client components for interacti. The MCP UI protocol extends MCP by returning a set of embedded UI resources, supporting inline HTML, remote resources, and Remote DOM for direct client-side rendering. This enables AI agents to augment their conversational flow with visual and interactive components, handling complex commerce UI elements like variant selection, bundle builders, and real-time inventory updates. An intent-based message system preserves agent control while components bubble up intents for the agent to interpret, facilitating rich user experiences. Adaptive styling allows components to match their host environment's brand guidelines.
All Shopify trails