Chapter 9. Demonstrating Functional Reactive Programming in JavaScript with a Live Example Part II – A To-do List

In this chapter, we will be walking through a to-do list. This to-do list will illustrate a slightly obscure kind of two-way data binding. ReactJS's forte is via one-way data binding, and most problems, solved in the idiomatic ReactJS fashion, will normally follow the von Neumann model with one-way data binding (it is claimed that two-way data binding is usually not needed, and articles such as AngularJS: The Bad Parts suggest that two-way binding carries a heavy price tag by default, especially as far as scaling is concerned).

If we build our to-do list in an obvious way, the checkboxes will be unresponsive. We can click on them as ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.