This course does not reflect our current course standards or industry best practices.

Check out a free preview of the full Choosing a JavaScript Framework course:
The "Giving New Todo a State" Lesson is part of the full, Choosing a JavaScript Framework course featured in this preview video. Here's what you'd learn in this lesson:

Now that the user can create new todo objects, they need to be added to the array of todos. This requires the todo objects to have a state. Brian demonstrates how to give the new todo object a state and perpetuate the data throughout the application with two-way data binding.

Get Unlimited Access Now