🌍 Public
Viewing a saved revision (read-only)
539b0f1bd27b45bbba13d23ff93125df
Cars Report
This example shows a simple dashboard that displays a list of cars under a price threshold, formatted as text lines. It uses React for the frontend, with the `getCars` function returning a promise that simulates a two-second network delay via `setTimeout`. The `generateReport` function filters car data and maps each entry to a string using `formatCar`. The result is rendered into a `<pre>` element, initially showing “Loading…” until the data arrives.
AI-generated description