What We Learned
You’ve now seen how observables work at the basic level, and you’ve grasped the vocabulary surrounding them. Don’t worry if you’re still unclear about the specifics. The principles introduced here will come up again and again, so there will be plenty of opportunities to practice. On the other hand, if you’re looking for a challenge, implement a lap button on the stopwatch. Clicking a lap button pauses the rendering of the view but doesn’t pause the internal counter. Clicking the lap button again shows the current counter state.
Now that you know how to create streams of data with observables, it’s time to learn more about how to modify the data within a stream. In the next chapter, you go on beyond map to learn about many more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access