Fixing notes.

This commit is contained in:
2020-10-06 08:23:04 -07:00
parent ba4f38c5a8
commit dbda3e9756
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -362,10 +362,10 @@ the pseudocode until we have our own fully functional ~render~ method
using the same general algorithm React uses. In our first pass we will
focus on the initial render and ignore reconciliation.
#+BEGIN_NOTE
#+begin_note
Reconciliation is basically React's "diffing" algorithm. We will be
exploring it after we work out the initial render.
#+END_NOTE
#+end_note
#+BEGIN_SRC javascript
function render(element, container) {
@@ -445,11 +445,11 @@ and based on two major components:
In this section we will focus on the first part: differing types.
#+BEGIN_NOTE
#+begin_note
In this book we won't be covering keys in depth but you will see why
it's very important to follow the guidance from React's documentation
that keys be: stable, predictable, and unique.
#+END_NOTE
#+end_note
The approach we will take here is to integrate the heuristics that
React uses into our ~render~ method. Our implementation will be very