From e21699a4e3d02fb0a9ba12c9c5d9ecd538be25f2 Mon Sep 17 00:00:00 2001 From: Akiroz Date: Fri, 2 Jun 2017 17:07:06 +0800 Subject: [PATCH 1/7] Add re-frame-storage (co)fx --- docs/External-Resources.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/External-Resources.md b/docs/External-Resources.md index 5ccef09..9d4c752 100644 --- a/docs/External-Resources.md +++ b/docs/External-Resources.md @@ -36,6 +36,7 @@ Please add to this list by submitting a pull request. * [re-frame-youtube-fx](https://github.com/micmarsh/re-frame-youtube-fx) - YouTube iframe API wrapper * [re-frame-web3-fx](https://github.com/madvas/re-frame-web3-fx) - Ethereum Web3 API * [re-frame-google-analytics-fx](https://github.com/madvas/re-frame-google-analytics-fx) - Google Analytics API +* [re-frame-storage](https://github.com/akiroz/re-frame-storage) - Local Storage based persistence ### Routing From c87bbac6b45eb92cdfad74ba638c4bb21b27366a Mon Sep 17 00:00:00 2001 From: David Goldfarb Date: Wed, 14 Jun 2017 15:17:59 +0300 Subject: [PATCH 2/7] Add external link: re-frame-storage-fx --- docs/External-Resources.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/External-Resources.md b/docs/External-Resources.md index 9d4c752..1b523a3 100644 --- a/docs/External-Resources.md +++ b/docs/External-Resources.md @@ -37,6 +37,7 @@ Please add to this list by submitting a pull request. * [re-frame-web3-fx](https://github.com/madvas/re-frame-web3-fx) - Ethereum Web3 API * [re-frame-google-analytics-fx](https://github.com/madvas/re-frame-google-analytics-fx) - Google Analytics API * [re-frame-storage](https://github.com/akiroz/re-frame-storage) - Local Storage based persistence +* [re-frame-storage-fx](https://github.com/deg/re-frame-storage-fx) - Another take on Local Storage persistence ### Routing From 0ff9386dd007ff5664b2e4d5d282ccc9d62ab94d Mon Sep 17 00:00:00 2001 From: Tim Ramsey Date: Sat, 24 Jun 2017 13:08:20 -0400 Subject: [PATCH 3/7] Fix tense to match subject --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 313f91c..9c98ffb 100644 --- a/README.md +++ b/README.md @@ -486,7 +486,7 @@ Next you need to read the other three articles in the [Introduction section](/do This will push your knowledge to about 70%. The final 30% will come incrementally with use, and by reading the other -tutorials (of which there's a few). +tutorials (of which there are a few). You can also experiment with these two examples:
https://github.com/Day8/re-frame/tree/master/examples From b38a8b4964a0c23f82b61bfcb50d1440692e2d34 Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 8 Jul 2017 15:48:36 -0500 Subject: [PATCH 4/7] Fix typo. --- src/re_frame/std_interceptors.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/re_frame/std_interceptors.cljc b/src/re_frame/std_interceptors.cljc index a2d2add..c029220 100644 --- a/src/re_frame/std_interceptors.cljc +++ b/src/re_frame/std_interceptors.cljc @@ -211,7 +211,7 @@ eddting operation. Nice and efficient, but fiddly. A bug generator approach. - So, instead, we create an `f` which recalcualtes warnings from scratch + So, instead, we create an `f` which recalculates warnings from scratch every time there is ANY change. It will inspect all the todos, and reset ALL FLAGS every time (overwriting what was there previously) and fully recalculate the list of duplicates (displayed at the bottom?). From 99b95f922567d96b282f4dd384a495c90c0a3c18 Mon Sep 17 00:00:00 2001 From: Prof Gra Date: Thu, 13 Jul 2017 13:59:56 +0200 Subject: [PATCH 5/7] Readme: fix what h should have returned Maybe I'm wrong. I'm just trying to understand the cycle. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c98ffb..dd4bed8 100644 --- a/README.md +++ b/README.md @@ -338,7 +338,7 @@ An `effect handler` (function) actions the `effects` returned by `h`. Here's what `h` returned: ```clj -{:db (dissoc-in db [:items item-id])} +{:db (dissoc-in db [:items 2486])} ``` Each key of the map identifies one kind of `effect`, and the value for that key supplies further details. From dac37543d713d974c2654b673e038af4409f23b5 Mon Sep 17 00:00:00 2001 From: Prof Gra Date: Thu, 13 Jul 2017 15:08:30 +0200 Subject: [PATCH 6/7] Code Walkthrough: localhost URL now clickable --- docs/CodeWalkthrough.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CodeWalkthrough.md b/docs/CodeWalkthrough.md index 4a25dd4..7956ebc 100644 --- a/docs/CodeWalkthrough.md +++ b/docs/CodeWalkthrough.md @@ -30,7 +30,7 @@ Then: 1. `git clone https://github.com/Day8/re-frame.git` 2. `cd re-frame/examples/simple` 3. `lein do clean, figwheel` - 4. wait a minute and then open `http://localhost:3449/example.html` + 4. wait a minute and then open So, what's just happened? The ClojureScript code under `/src` has been compiled into `javascript` and put into `/resources/public/js/client.js` which is loaded into `/resources/public/example.html` (the HTML you just opened) From 97bba84cb5fb62758b4fc48b82fbf68d26b4b5b7 Mon Sep 17 00:00:00 2001 From: Marc Claesen Date: Thu, 13 Jul 2017 13:55:56 +0200 Subject: [PATCH 7/7] Update events.cljs fixed typo --- examples/todomvc/src/todomvc/events.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/todomvc/src/todomvc/events.cljs b/examples/todomvc/src/todomvc/events.cljs index 83a7bcd..296a0f2 100644 --- a/examples/todomvc/src/todomvc/events.cljs +++ b/examples/todomvc/src/todomvc/events.cljs @@ -26,7 +26,7 @@ (def ->local-store (after todos->local-store)) ;; Each event handler can have its own set of interceptors (middleware) -;; But we use the same set of interceptors for all event habdlers related +;; But we use the same set of interceptors for all event handlers related ;; to manipulating todos. ;; A chain of interceptors is a vector. (def todo-interceptors [check-spec-interceptor ;; ensure the spec is still valid