import {useEffect, useState} from 'react' import reactLogo from './assets/react.svg' import viteLogo from '/vite.svg' import './App.css' import styles from './App.module.scss'; import Item from './Item.jsx'; import AppInfoCtx from "./AppInfoCtx.js"; function App() { const [count, setCount] = useState(0); const [notification, setNotification] = useState(""); useEffect(() => { console.log("Executed on mount") return () => { console.log('Executed on unmount'); } }, []); let items = []; for (let i = 0; i < count; i++) { items.push( ); } return ( <>

{notification}

Vite logo React logo

Vite + React

    {items}
    {items}

Edit src/App.jsx and save to test HMR

Click on the Vite and React logos to learn more

) } export default App