Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Conversation

mattpham
Copy link
Contributor

@mattpham mattpham commented Mar 8, 2019

  • Refactored setState function calls in TodoApp to use a state change function instead of state object as per React conventions.

  • Also added some clarifications in 1-07 excercise readme and removed a line that's no longer applicable

@micahgodbolt
Copy link
Member

@kenotron take a peak. this is a pretty big rewrite of the todo app logic. curious if you have a preference on how this is presented, as we don't dig into it too deep during class.

@micahgodbolt micahgodbolt requested a review from kenotron March 11, 2019 16:07

4. Call `_onAdd` from the submit button
4. Assign `_onAdd` as the `onClick` event handler for the submit button.
Copy link

Choose a reason for hiding this comment

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

this makes more sense 👍

@micahgodbolt
Copy link
Member

would love to dive back into this and use hooks. Even better than class based state.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants