skip to Main Content

Javascript – React, confused in useState

Can anyone explaine me please, just start learn React, I'm confused in one thing in this code: import { useState } from "react"; import ReactDOM from "react-dom/client"; function Car() { const [car, setCar] = useState({ brand: "Ford", model: "Mustang", year:…

VIEW QUESTION
Back To Top
Search