Skip to main content
100%

Tutorial

✓ Published0🌍 Public
RRodolfo Dutra
Last edited Jan 8, 2020
Created on Jan 8, 2020
Forked from React Starter

This tutorial demonstrates how to use React with asynchronous data to render a text-based report. It shows a loading message, then fetches a list of cars from a hardcoded JSON array via a Promise-based `getCars` function, and displays a filtered list of cars under a price threshold. The code uses `getCars()` to simulate a delay, `generateReport` with `filter` and `map` to format results, and React’s `element.textContent` to update the DOM. The example relies on React 16.10 UMD builds and vanilla JavaScript, with no charting or visualization library.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes