Yelp's CHAOS framework enables server-driven UI by using a GraphQL API that routes requests to backend services which construct UI configurations. The system uses Python dataclasses to define reusable components and actions, supports parallel feature loading for performance, includes error handling to prevent single feature failures from breaking entire views, and offers advanced features like view flows for navigation sequences and view placeholders for asynchronous content loading.

17m read timeFrom engineeringblog.yelp.com
Post cover image
Table of contents
CHAOS APICHAOS BackendCHAOS ElementsBuilding a ConfigurationWhat About Error Handling?Advanced FeaturesMore CHAOS?

Sort: