@@ -42,15 +42,15 @@ We will structure the editor interface as a number of
4242_ ((component))s_ , objects that are responsible for a piece of the
4343((DOM)), and may contain other components inside them.
4444
45- The ((state)) of the application consists of the picture, the selected
46- tool, and the selected color. We'll set things up so that the state
47- lives in a single value, and the interface components always base the
48- way they look on the current state.
45+ The ((state)) of the application consists of the current picture, the
46+ selected tool, and the selected color. We'll set things up so that the
47+ state lives in a single value, and the interface components always
48+ base the way they look on the current state.
4949
5050To see why this is important, let's consider the
5151alternative—distributing pieces of state throughout the interface. Up
52- to a certain point, this is much easier to program. We can just put in
53- a ((color field)), wire it up to store its value somewhere when it
52+ to a certain point, this is easier to program. We can just put in a
53+ ((color field)), wire it up to store its value somewhere when it
5454changes, and have all operations that need to know the current color
5555look at that value.
5656
0 commit comments