You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a living example of this approach, look at the [todomvc example](https://github.com/Day8/re-frame/tree/master/examples/todomvc).
19
+
For a living example of this approach, look at the [todomvc example](https://github.com/day8/re-frame/tree/master/examples/todomvc).
20
20
21
-
*No really, you should absolutely look at the [todomvc example](https://github.com/Day8/re-frame/tree/master/examples/todomvc) example, as soon as possible. It contains all sorts of tips.*
21
+
*No really, you should absolutely look at the [todomvc example](https://github.com/day8/re-frame/tree/master/examples/todomvc) example, as soon as possible. It contains all sorts of tips.*
22
22
23
23
### There's A Small Gotcha
24
24
@@ -98,7 +98,7 @@ Where the first option might be preferrable since it ensures you require the han
Copy file name to clipboardExpand all lines: docs/CodeWalkthrough.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ In this tutorial, **we look at re-frame code**. By the end of it, you'll be at 7
10
10
11
11
## What Code?
12
12
13
-
This repo contains an `/examples` application called ["simple"](https://github.com/Day8/re-frame/tree/master/examples/simple),
14
-
which contains 70 lines of code. We'll look at every line of [the file](https://github.com/Day8/re-frame/blob/master/examples/simple/src/simple/core.cljs).
13
+
This repo contains an `/examples` application called ["simple"](https://github.com/day8/re-frame/tree/master/examples/simple),
14
+
which contains 70 lines of code. We'll look at every line of [the file](https://github.com/day8/re-frame/blob/master/examples/simple/src/simple/core.cljs).
15
15
16
16
This app:
17
17
- displays the current time in a nice big, colourful font
Next, we're going to assume that you have structured you app in the [recommended way](https://github.com/Day8/re-frame/tree/master/examples/todomvc/src/todomvc),
91
+
Next, we're going to assume that you have structured you app in the [recommended way](https://github.com/day8/re-frame/tree/master/examples/todomvc/src/todomvc),
92
92
meaning you have the namespaces `events.cljs`, `subs.cljs` and `views.cljs`.
93
93
It is the functions within these namespaces that we wish to trace.
94
94
@@ -207,7 +207,7 @@ If you are using v0.8.0 or later, then you can ignore this section.
207
207
Prior to v0.8.0, subscriptions were done using `re-frame.core/reg-sub-raw`,
208
208
instead of `re-frame.core/reg-sub` (which is now the preferred method).
209
209
210
-
Details of the changes can [be found here](https://github.com/Day8/re-frame/blob/master/CHANGES.md#080--20160819).
210
+
Details of the changes can [be found here](https://github.com/day8/re-frame/blob/master/CHANGES.md#080--20160819).
211
211
212
212
When using `re-frame.core/reg-sub-raw`, you must explicitly use `reaction`. And
213
213
unfortunately both `trace-forms` and `reaction` are macros and they don't work well together.
*[Slush-reframe](https://github.com/kristianmandrup/slush-reframe) - A scaffolding generator for re-frame run using NodeJS. Based on re-frame `0.7.0`
@@ -18,7 +18,7 @@ Please add to this list by submitting a pull request.
18
18
19
19
### Examples and Applications Using re-frame
20
20
21
-
*[RealWorld](https://github.com/jacekschae/conduit) - heavily inspired by [todomvc](https://github.com/Day8/re-frame/tree/master/examples/todomvc) - well commented codebase with CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
21
+
*[RealWorld](https://github.com/jacekschae/conduit) - heavily inspired by [todomvc](https://github.com/day8/re-frame/tree/master/examples/todomvc) - well commented codebase with CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
22
22
*[BlueGenes](https://github.com/intermine/bluegenes) - searching and analysing genomic data, by the University of Cambridge
23
23
*[Memento](https://gitlab.com/Numergent/memento) a private note-taking app. Uses compojure-api, PostgreSQL and token auth.
24
24
*[RealWord](https://github.com/polymeris/re-frame-realword-example-app) has CRUD, auth. Adheres to [RealWorld](https://github.com/gothinkster/realworld) spec and API.
@@ -42,9 +42,9 @@ Please add to this list by submitting a pull request.
42
42
43
43
### Effect and CoEffect Handlers
44
44
45
-
*[async-flow-fx](https://github.com/Day8/re-frame-async-flow-fx) - manage a boot process dominated by async
Copy file name to clipboardExpand all lines: docs/FAQs/Inspecting-app-db.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ If at a REPL, inspect: `re-frame.db/app-db`.
8
8
9
9
If at the js console, that's `window.re_frame.db.app_db.state`.
10
10
11
-
If you want a visual browser of app-db, along with inspecting subpaths of app-db, and diffing changes, use [re-frame-10x](https://github.com/Day8/re-frame-10x).
11
+
If you want a visual browser of app-db, along with inspecting subpaths of app-db, and diffing changes, use [re-frame-10x](https://github.com/day8/re-frame-10x).
12
12
13
13
You are [using cljs-devtools](https://github.com/binaryage/cljs-devtools), right?
14
14
If not, stop everything ([unless you are using re-natal](https://github.com/drapanjanas/re-natal/issues/137)) and immediately make that happen.
Copy file name to clipboardExpand all lines: docs/FAQs/ViewsOnGlobalRegistration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ There are three ways to view this:
37
37
within a map-ish structure (a `registrar`), once, on program load.
38
38
So, if you feel uncomfortable with what re-frame does, you should also feel uncomfortable about using `defn`.
39
39
Also, it would be useful to understand
40
-
[how you are creating a virtual machine when you program re-frame](https://github.com/Day8/re-frame/blob/master/docs/MentalModelOmnibus.md#on-dsls-and-machines)
40
+
[how you are creating a virtual machine when you program re-frame](https://github.com/day8/re-frame/blob/master/docs/MentalModelOmnibus.md#on-dsls-and-machines)
41
41
42
42
43
43
While Point 3 is an interesting perspective to consider, the real discussion should probably be around points 1 and 2: is it a good idea for re-frame to tradeoff purity for simplicity? You can't really judge this
0 commit comments