This commit is contained in:
2026-03-03 20:22:13 +01:00
parent 2427e98dba
commit e8f47b6ce2

View File

@@ -1,4 +1,4 @@
import { useState } from 'react' import {useState} from 'react'
import reactLogo from './assets/react.svg' import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg' import viteLogo from '/vite.svg'
import './App.css' import './App.css'
@@ -19,7 +19,7 @@ function App() {
<h1>Vite + React</h1> <h1>Vite + React</h1>
<div className="card"> <div className="card">
<button onClick={() => setCount((count) => count + 1)}> <button onClick={() => setCount((count) => count + 1)}>
count is {count} count is (supposed) {count}
</button> </button>
<p> <p>
Edit <code>src/App.jsx</code> and save to test HMR Edit <code>src/App.jsx</code> and save to test HMR