From d3bf9a70fe7ff1a73829ad4f5f95d751559f658c Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Sun, 10 Nov 2019 19:22:02 -0500 Subject: [PATCH] Explaining redraw more clearly. Closes #109. --- interactive.tex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/interactive.tex b/interactive.tex index 8a25a31..70a7446 100644 --- a/interactive.tex +++ b/interactive.tex @@ -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}