O'Reilly logo

Introducing Meteor by David Titarenco, Aaron Gray, Josh Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

Reactive Programming and Routes

Now that you are able to handle basic interactions, let’s cover a core concept of Meteor: reactive programming. This technique lets you write your code in a simple declarative style that enables your application to react to changes in the data. In its simplest form, this means you can tell your template to display something, such as a user’s name, and when the data backing the name changes, the template automatically updates. Since this is such an important concept, this chapter will walk you through how to use reactive programming in your application.

Reactive Programming Explained

Reactivity is a

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required