Skip to content

Lesson 1.4#15

Open
dseydahmetova wants to merge 5 commits intoCode-the-Dream-School:mainfrom
dseydahmetova:lesson4
Open

Lesson 1.4#15
dseydahmetova wants to merge 5 commits intoCode-the-Dream-School:mainfrom
dseydahmetova:lesson4

Conversation

@dseydahmetova
Copy link

Move Todo List into State
Control "Add Todo"
Add New Todo to List
Destructure Props

Copy link

@Just-Bob-Dev Just-Bob-Dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks really good!

@@ -0,0 +1,25 @@
import React from "react";

const AddTodoForm = ({ onAddTodo }) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice props destructuring

import React from "react";

const TodoListItem = (props) => {
return (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use the destructuring here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants