Skip to content

Commit

Permalink
Explaining redraw more clearly.
Browse files Browse the repository at this point in the history
Closes #109.
  • Loading branch information
gvwilson committed Nov 11, 2019
1 parent a0ac316 commit d3bf9a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions interactive.tex
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ \chapter{Interactive Sites}\label{s:interactive}
React calls each component's \texttt{render} method each time \texttt{setState} is used to update the component's state.
Behind the scenes,
React does some thinking to minimize how much redrawing takes place:
while it may look as though the paragraph, button, and current count are all being redrawn each time,
React will only actually redraw as little as it can.
React does some thinking to minimize how much redrawing takes place
in order to make the application more responsive and minimize flickering and jumpiness.
\section{But It Doesn't Work}\label{s:interactive-babel}
Expand Down

0 comments on commit d3bf9a7

Please sign in to comment.