@@ -15,13 +15,12 @@ Since it's likely a lot to take in at once, we'll break it down piece by piece:
15
15
:linenos:
16
16
17
17
The ``idom.component `` decorator creates a :ref: `Component <Stateful Components >` constructor
18
- whose render function is defined by the `asynchronous function `_ below it. To create
19
- a Component instance we call ``Slideshow() `` with the same arguments as its render
20
- function. The render function of a Component returns a data structure that depicts a
21
- user interface, or in more technical terms a Document Object Model (DOM). We call this
22
- structural representation of the DOM a `Virtual DOM `__ (VDOM) - a term familiar to those
23
- who work with `ReactJS `_. In the case of ``Slideshow `` it will return a VDOM
24
- representing an image which, when clicked, will change.
18
+ whose which is "rendered" by the function below it. To create a Component instance we call
19
+ ``Slideshow() `` with the same arguments as its render function. The render function of a
20
+ Component returns a data structure that depicts a user interface, or in more technical terms
21
+ a Document Object Model (DOM). We call this structural representation of the DOM a
22
+ `Virtual DOM `__ (VDOM) - a term familiar to those who work with `ReactJS `_. In the case of
23
+ ``Slideshow `` it will return a VDOM representing an image which, when clicked, will change.
25
24
26
25
__ https://reactjs.org/docs/faq-internals.html#what-is-the-virtual-dom
27
26
@@ -92,6 +91,5 @@ websocket. To display the layout we can navigate to http://localhost:8765/client
92
91
93
92
.. _VDOM event specification : https://github.com/nteract/vdom/blob/master/docs/event-spec.md
94
93
.. _VDOM mimetype specification : https://github.com/nteract/vdom/blob/master/docs/mimetype-spec.md
95
- .. _asynchronous function : https://realpython.com/async-io-python/
96
94
.. _ReactJS : https://reactjs.org/docs/faq-internals.html
97
95
.. _React Hooks : https://reactjs.org/docs/hooks-overview.html
0 commit comments