Docs WIP
This commit is contained in:
parent
742349348d
commit
8ee1271224
|
@ -260,7 +260,7 @@ The `event handler`, `h`, associated with
|
|||
`:delete-item`, is called to compute the `effect` of this event.
|
||||
|
||||
This handler function, `h`, takes two arguments: a `coeffects` map
|
||||
which holds the current state of the world (including app state),
|
||||
which holds the current state of the world (including app state),
|
||||
and the `event`. It must return a map of `effects` - a description
|
||||
of how the world should change. Here's a sketch (we are at 30,000 feet):
|
||||
```clj
|
||||
|
|
|
@ -11,17 +11,19 @@ then those patterns will repeat themselves. <br>
|
|||
|
||||
<img height="350px" align="right" src="/images/mental-model-omnibus.jpg?raw=true">
|
||||
|
||||
The tutorials initially focus on the **domino
|
||||
The re-frame tutorials initially focus on the **domino
|
||||
narrative**. The goal is to efficiently explain the mechanics of re-frame,
|
||||
and get you reading and writing code ASAP.
|
||||
|
||||
**But** there are other perspectives on re-frame
|
||||
But **there are other perspectives** on re-frame
|
||||
which will deepen your understanding.
|
||||
|
||||
This tutorial is a tour of these ideas, justifications and insights.
|
||||
It is a little rambling, but I'm hoping it will deliver for you
|
||||
at least one "Aaaah, I see" moment before the end.
|
||||
|
||||
> All models are wrong, but some are useful
|
||||
|
||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||
## Table Of Contents
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue