Skip to content

Lesson 1.4#15

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

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

Conversation

@dseydahmetova

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Everything looks really good!

Comment thread src/AddTodoForm.js
@@ -0,0 +1,25 @@
import React from "react";

const AddTodoForm = ({ onAddTodo }) => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice props destructuring

Comment thread src/TodoListItem.js
import React from "react";

const TodoListItem = (props) => {
return (

Copy link
Copy Markdown

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