mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 07:18:22 +00:00
Merge pull request #217 from smahood/develop
Populate and clean up docs navigation
This commit is contained in:
commit
2a2db3d2e6
@ -57,3 +57,8 @@ src
|
||||
```
|
||||
|
||||
Continue to [Navigation](Navigation.md) to learn how to switch between panels of a larger app.
|
||||
|
||||
---
|
||||
Previous: [CoEffects](coeffects.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Navigation](Navigation.md)
|
||||
|
@ -393,6 +393,6 @@ the mechanism by which event handlers are executed. That knowledge will give us
|
||||
to then, as a next step, better understand coeffects and effects. We'll soon be writing our own.
|
||||
|
||||
---
|
||||
Up: [Index](Readme.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Interceptors](Interceptors.md)
|
||||
|
||||
|
@ -355,3 +355,8 @@ usage:
|
||||
Create a PR to include yours in this list.
|
||||
|
||||
XXX maybe put this list into the Wiki, so editable by all.
|
||||
|
||||
---
|
||||
Previous: [Interceptors](Interceptors.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [CoEffects](coeffects.md)
|
||||
|
@ -380,3 +380,8 @@ To use them, first require them:
|
||||
(:require
|
||||
[re-frame.core :refer [debug path]])
|
||||
```
|
||||
|
||||
---
|
||||
Previous: [Effectful Handlers](EffectfulHandlers.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Effects](Effects.md)
|
||||
|
@ -216,8 +216,8 @@ The next Tutorial will show you how.
|
||||
|
||||
|
||||
---
|
||||
Previous: [Interceptors](Interceptors.md)
|
||||
Up: [Index](Readme.md)
|
||||
Previous: [Namespaced Keywords](Namespaced-Keywords.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Talking To Servers](Talking-To-Servers.md)
|
||||
|
||||
|
||||
|
@ -19,3 +19,8 @@ fiction. I can have the keyword `:panel1/edit` even though
|
||||
|
||||
Naturally, you'll take advantage of this by using keyword namespaces
|
||||
which are both unique and descriptive.
|
||||
|
||||
---
|
||||
Previous: [Navigation](Navigation.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Loading Initial Data](Loading-Initial-Data.md)
|
@ -19,6 +19,7 @@ When the user does something navigation-ish (selects a tab, a dropdown or someth
|
||||
```
|
||||
|
||||
A high level reagent view has a subscription to :active-panel and will switch to the associated panel.
|
||||
|
||||
```clj
|
||||
(re-frame/reg-sub
|
||||
:active-panel
|
||||
@ -43,7 +44,12 @@ A high level reagent view has a subscription to :active-panel and will switch to
|
||||
(condp = @active ;; or you could look up in a map
|
||||
:panel1 [panel1]
|
||||
:panel2 [panel2])])))
|
||||
|
||||
```
|
||||
|
||||
|
||||
Continue to [Namespaced Keywords](Namespaced-Keywords.md) to reduce clashes on ids.
|
||||
|
||||
---
|
||||
Previous: [Basic App Structure](Basic-App-Structure.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Namespaced Keywords](Namespaced-Keywords.md)
|
||||
|
@ -236,3 +236,6 @@ data into HTML and nothing more. they absolutely do not do imperative stuff.
|
||||
|
||||
Use one of the two alternatives described above.
|
||||
|
||||
---
|
||||
Previous: [Talking to Servers](Talking-To-Servers.md)
|
||||
Up: [Index](README.md)
|
||||
|
@ -113,6 +113,7 @@ In the 2nd version, we use the alternative registration function, `reg-event-fx`
|
||||
You may soon feel confident enough to write your own.
|
||||
|
||||
Here's our rewrite:
|
||||
|
||||
```clj
|
||||
(ns my.app.events
|
||||
(:require
|
||||
@ -138,3 +139,7 @@ Notes:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Previous: [Loading Initial Data](Loading-Initial-Data.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Subscribing to External Data](Subscribing-To-External-Data.md)
|
||||
|
@ -267,3 +267,7 @@ In note form:
|
||||
5. We must have previously registered a cofx handler via `reg-cofx`
|
||||
|
||||
|
||||
---
|
||||
Previous: [Effects](Effects.md)
|
||||
Up: [Index](README.md)
|
||||
Next: [Basic App Structure](Basic-App-Structure.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user