Shopify
Commerce platform for merchants of every size.
- Ruby
- Go
- React
- TypeScript
Problems
Unlock all 19 problems — upgrade to Pro. The 3 easiest are free for everyone.
See plans- EasyJavaScript
Connection flattening utility
Converts the edges of a GraphQL connection into a flat array of their nodes so callers can iterate over the items directly.
20 min - EasyJavaScript
Flatten connection utility
Converts a GraphQL connection object returned by the commerce API into a plain array of its nodes so components can render lists.
20 min - EasyJavaScript
Ref forwarding for themed components
Wraps a base React Native component with theme-aware style props so callers can pass style props and get a component they render like the base one.
25 min - EasyGo
Slicer Toxic chunking
Slicer toxic splits a stream into smaller chunks of configurable average size, with optional random size variation, to simulate fragmented TCP delivery.
30 min - EasyJavaScript
Style-prop component factory
Builds React Native components whose style props are resolved from the theme and passed to a base component, so callers can use them like regular components.
30 min - MediumJavaScript
Add to cart form serialization
Serializes HTML form fields into a JSON request body for the cart add endpoint, used by product forms and cart actions.
45 min - MediumRuby
Assign Tag Expression Evaluation
Template tag that stores a value in a named variable for later use in the template, with the value taken from a variable or an expression.
60 min - MediumRuby
Conditional tag boolean evaluation
Evaluates if-tag conditions that combine comparisons with and/or and renders the matching branch of the template.
60 min - MediumRuby
Filter output rendering in Template
Parses and renders templates with variables and filters, producing string output for callers that pass data hashes to render.
60 min - MediumJavaScript
GraphiQL explorer dev route
Dev-server middleware that serves the GraphiQL explorer at fixed URLs so developers can run storefront queries while the page server handles other requests.
60 min - MediumJavaScript
Masonry grid list scroll and load handlers
A staggered masonry grid that lays items out in columns and forwards scroll and load events to the caller's onScroll and onLoad handlers.
60 min - MediumGo
Network Slicer Chunk Splitting
Splits relayed stream data into smaller chunks with a configurable average size, optional random size variation and per-chunk delay, applied to traffic passing through a proxy toxic.
45 min - MediumRuby
Request locale handling in controller concern
A controller concern that picks the UI locale for each request from the locale parameter, falling back to the default locale when none is given or it is unsupported.
60 min - MediumJavaScript
Scroll bound detection callbacks
Hook that reports when the scroll position nears the start or end of a list, invoking onEndReached and onStartReached callbacks based on measured sizes.
60 min - MediumJavaScript
Storage access grant handling in embedded pages
Client-side helper that decides where an embedded app page sends the user after checking and granting browser storage access.
45 min - MediumRuby
Strict if-condition expression evaluation
Parses and evaluates conditional expressions in template if blocks, including comparisons combined with and/or operators.
60 min - MediumRuby
Template assign resource accounting
Template engine that renders parsed templates against a context of assigned variables, where assign and capture tags record usage against resource limits.
45 min - HardJavaScript
Responsive spacing style function
Builds React Native style objects from theme values, with optional per-breakpoint values, so components can map props like padding and margin to theme spacing.
120 min - HardJavaScript
Sub-request response caching with max-age
Caches query results for server-rendered routes using Cache API entries, with freshness governed by per-query cache strategy options that callers pass to the query hook.
120 min
