This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-07
Channels
- # beginners (71)
- # boot (25)
- # cider (204)
- # clara (18)
- # cljs-dev (10)
- # cljsrn (64)
- # clojure (50)
- # clojure-dev (2)
- # clojure-dusseldorf (1)
- # clojure-india (5)
- # clojure-italy (1)
- # clojure-nl (21)
- # clojure-poland (65)
- # clojure-spec (41)
- # clojure-uk (10)
- # clojurescript (4)
- # core-async (5)
- # cursive (2)
- # datomic (17)
- # duct (8)
- # emacs (8)
- # fulcro (1)
- # graphql (21)
- # hoplon (2)
- # javascript (3)
- # lumo (25)
- # mount (5)
- # off-topic (5)
- # onyx (3)
- # portkey (6)
- # re-frame (15)
- # reagent (5)
- # rum (1)
- # shadow-cljs (198)
- # spacemacs (19)
- # specter (2)
@hoopes I've just added a couple of lines to the README to explain this capability is possible. Was a bit hidden.
What could be happening, when in re-frame-10x the app-db tab shows that the whole db is nil, but subs still show data correctly?
I saw that once, it seems to be only populated when the tab is open and there is an update, and to stay empty as long as the db stays the same.
@tomi.hukkalainen_slac no reports of this previously
Perhaps look in console for any exceptions?
I did, but nothing in console (unrelated to actual bugs on what I was working on and which I solved)
I did notice that re-frame-10x depends on a newer version of re-frame, so maybe there's a problem there. I'll try updating all the deps
Hey! I’m wondering: is it idiomatic to create empty data in subscriptions (e.g. for a form) just like it’s described in Subscribing-To-External-Data.md
? Then I could use :on-dispose
- to flush form data on route change, etc.
A bit... I am creating empty data with dispatch, but then removing the form from app-db
using :on-dispose
.
@tomi.hukkalainen_slac yep I'll bet that's exactly the problem, tracing app-db is a newer feature of re-frame-10x but relies on a newer version of re-frame actually capturing app-db
Just made a docs update for this: https://github.com/Day8/re-frame-10x#some-parts-of-re-frame-10x-seem-to-work-but-others-dont