diff --git a/high-performance-react.org b/high-performance-react.org index 48e2ba7..1e64bb8 100644 --- a/high-performance-react.org +++ b/high-performance-react.org @@ -174,12 +174,10 @@ constructed of. What parts do you see here? I see three parts: the name of the tag, the tag's properties, and its children. -#+begin_example |----------+-----------------------------| | name | 'div', 'h1', 'input' | | props | 'class', 'type', 'disabled' | | children |

, , Hello | -#+end_example #+BEGIN_SRC tag name: 'div' diff --git a/manuscript/fundamentals--building-our-own-react.markua b/manuscript/fundamentals--building-our-own-react.markua index 2eed65f..1874d8b 100644 --- a/manuscript/fundamentals--building-our-own-react.markua +++ b/manuscript/fundamentals--building-our-own-react.markua @@ -40,12 +40,9 @@ To start with we need to create a data structure that both represents a DOM tree I see three parts: the name of the tag, the tag's properties, and its children. -``` -|----------+-----------------------------| | name | 'div', 'h1', 'input' | | props | 'class', 'type', 'disabled' | | children |

, , Hello | -``` ``` tag name: 'div'