Skip to main content
100%

Menu com React

✓ Published0🌍 Public
Ssergiofco
Last edited Feb 18, 2023
Created on Feb 18, 2023
Forked from React Starter

This example shows a simple interactive menu built with React, where a user can choose between two display options ("junto" or "separado") via a dropdown selector. The selected value is stored in React state using the `useState` hook and logged to the console, while the `Dropdown` component renders a native HTML `<select>` element and propagates changes through a callback. The code uses ReactDOM to mount the app, and relies on React 16.13.1 and ReactDOM from unpkg CDN. No external visualization library is involved; the focus is on state-driven UI updates.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes