Canvas Data Fetching

Fetch and render Drupal content in Canvas components with JSON:API and SWR patterns. Use when building content lists, integrating with SWR, querying related entities, or constructing/changing any JSON:API request — every generated request must be executed and verified to return the expected results before rendering logic is written against it. Covers JsonApiClient, DrupalJsonApiParams, relationship handling, filter patterns, and request verification.

drupal-canvas Updated

File contents

drupal-canvas/skills commit e99b125dfe

Frequently asked questions

npx get-skill add drupal-canvas/canvas-data-fetching