🌍 Public
Viewing a saved revision (read-only)
608fbd9f782d489088b9f61438ba5794
React Starter
This example demonstrates a minimal React application that imports and logs an array of car objects. The dataset, defined in `cars.js`, contains two entries with `year` and `make` properties, parsed from a JSON string via `JSON.parse`. The main component, rendered inside the `#root` div, uses the imported `cars` array and outputs it to the browser console. The code relies on React’s component lifecycle and ES6 module imports, with no additional visualization or charting libraries present.
AI-generated descriptionReact Starter code.