Skip to content

Lesson-1.1#4

Open
eric-lz97 wants to merge 1 commit intoCode-the-Dream-School:mainfrom
eric-lz97:lesson1.1
Open

Lesson-1.1#4
eric-lz97 wants to merge 1 commit intoCode-the-Dream-School:mainfrom
eric-lz97:lesson1.1

Conversation

@eric-lz97
Copy link
Copy Markdown

@eric-lz97 eric-lz97 commented Jun 11, 2022

  • Created a React-app
  • Created title "to do list"
  • Created an array with all the tasks
  • Used the map method to grab the data from each object

@eric-lz97 eric-lz97 changed the title to list complete Lesson-1.1 Jun 11, 2022
@wwhite11
Copy link
Copy Markdown

Hello Eric,

 Good work on creating a list, I would recommend that you use more styling in a CSS file, also create a component with all of the logic, and then have it rendered in the top-level component which is the App.js file.   The idea is to keep the top-level component as clean as possible when building out your application.   

 And to answer your question, it's not a bad practice to use arrow functions. arrow function was introduced in ES6 of Javascript, the older way of writing functions is an ES5 standard. Whatever you feel more comfortable with, as long you understand the basic usage of a function. 

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