Skip to Content
Octopus Energy Packages

Tutorial

Build the core EnergySummary experience in focused steps

This tutorial builds the core EnergySummary experience for a property route. Follow the pages in order to create a working client-rendered week-over-week summary before moving fixed data fetching to the route.

Create the shell

Create the route shell, client summary component, and fixed summary timeframe.

Create the shell →

Fetch summary data

Resolve market supply points, fetch measurement data for the summary window, and derive a MeasurementsSummary.

Fetch summary data →

Render the summary card

Map selected summary values to Coral props and render localized headline text, indicators, and comparison charts.

Render the summary card →

After the core build

When the core summary works, continue with next steps to move data fetching and summary derivation server-side.

On this page