BugdrLog in
All problems
EasyJavaScriptFrontend Engineer · graphql · react · typescript · utilities

Flatten connection utility

★ 0.0 (0 ratings)20 min0 engineers solved this

Your assignment

This is a React storefront framework that renders pages on the server and hydrates them in the browser. Data comes from a commerce GraphQL API whose list fields are wrapped in connection objects with edges and nodes. Utilities under src/utilities help developers unwrap these connections into plain arrays. Route and component code calls these utilities directly on query results, and the query helpers build the GraphQL requests that produce the connection data.

What the team is seeing

incident log
Some store pages suddenly stop loading and show an error screen for certain collections or product lists. It happens when a list has no items to display, while other lists on the same site keep working.

Acceptance checks 1

  • Check 1

Discussion is locked — log in and complete this problem to join the discussion and rate your experience.