Todo list application with react hooks
import "./styles.css";
import { useState } from "react";
export default function App() { const [todoList, setTodoList] = useState([]); const [input, setInput] = useState("");const addItem = (e) => { if (input.length) { const item = { id: Math.random(...
reactonme.hashnode.dev1 min read