This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step 4.2: Add event handler for form submit
- Loading branch information
7a1ace1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
up to this step 4.2 I was able to easily follow your nice tutorial. But here I´m completely puzzled: is simple-todos.js a new file in this project? It has not been mentioned before. If I create a new file with the code above I get this in browser:
If I just insert the code on green background into simple-todos-react.jsx nothing seems to change. The input-field is still there but the list below stays empty after filling in and hitting return.
Grateful for any help.
7a1ace1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to delete the following from the existing jss file first before adding the code form 4.2
return Tasks.find({});
});
}