Cars Report
✓ Published0🌍 Public
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 descriptionMIT Licensed