@@ -19,9 +19,9 @@ the addage "the best code is no code at all," we make the related claim that "th
1919way to manage state is to have no state at all."
2020
2121With IDOM the core of your application will be built on the back of basic functions and
22- coroutines that return :term : `VDOM ` models and which do so without state and without
23- `side effects `_. We call these kinds of model rendering functions
24- :term : `Pure Elements <Pure Element> `. For example, one might want a function which
22+ coroutines that return :ref : `VDOM < VDOM Mimetype > ` models and which do so without state
23+ and without `side effects `_. We call these kinds of model rendering functions
24+ :ref : `Pure Elements `. For example, one might want a function which
2525accepted a list of strings and turned it into a series of paragraph elements:
2626
2727.. code-block ::
@@ -33,7 +33,7 @@ accepted a list of strings and turned it into a series of paragraph elements:
3333 Stateful Elements
3434-----------------
3535
36- A Stateful Element is one which uses a :ref: `Life Cycle Hook `. These life cycle hooks
36+ A Stateful Element is one which uses a :ref: `Life Cycle Hooks `. These life cycle hooks
3737allow you to add state to otherwise stateless functions. To create a stateful element
3838you'll need to apply the :func: `~idom.core.element.element ` decorator to a coroutine _
3939whose body contains a hook usage. We'll demonstrate that with a simple
@@ -57,9 +57,9 @@ whose body contains a hook usage. We'll demonstrate that with a simple
5757Element Layout
5858--------------
5959
60- Displaying an element requires you to turn elements into :term : `VDOM ` - this is done
61- using a :class: `~idom.core.layout.Layout `. Layouts are responsible for rendering
62- elements (turning them into VDOM) and scheduling their re-renders when they
60+ Displaying an element requires you to turn elements into :ref : `VDOM < VDOM Mimetype >` -
61+ this is done using a :class: `~idom.core.layout.Layout `. Layouts are responsible for
62+ rendering elements (turning them into VDOM) and scheduling their re-renders when they
6363:meth: `~idom.core.layout.Layout.update `. To create a layout, you'll need an
6464:class: `~idom.core.element.Element ` instance, which will become its root, and won't
6565ever be removed from the model. Then you'll just need to call and await a
0 commit comments