Sign up, and you'll be able to customize your font size and more! Sign up
Oct 2, 2022
4:16:49pm
I feel like I'm close, but obviously still missing something. Brain is mush.

I know I have to update state but I'm brainless at this point.

import React, { useEffect, useState } from "react";

import Todo from "./Todo";

function TodoList({ todos }) {

const [list, setList] = useState("");

return (

 
 
{todos.map((todo) => {
<Todokey={todo.id}todo={todo}/>;
})}
 
 
 


);

}

export default TodoList;
This message has been modified
Originally posted on Oct 2, 2022 at 4:16:49pm
Message modified by Icelandic Cougar on Oct 2, 2022 at 4:18:55pm
Message modified by Icelandic Cougar on Oct 2, 2022 at 4:19:18pm
Icelandic Cougar
Previous username
utah is classless
Bio page
Icelandic Cougar
Joined
Jun 8, 2020
Last login
Apr 30, 2024
Total posts
6,313 (60 FO)
Messages
Author
Time

Posting on CougarBoard

In order to post, you will need to either sign up or log in.