Fork me on GitHub
#re-frame
<
2018-05-07
>
mikethompson00:05:31

@hoopes I've just added a couple of lines to the README to explain this capability is possible. Was a bit hidden.

👍 12
hoopes00:05:50

awesome, thanks

Hukka10:05:11

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?

gklijs12:05:55

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.

Hukka12:05:03

I did change it aplenty

gklijs12:05:21

Then I don’t know

mikethompson13:05:20

@tomi.hukkalainen_slac no reports of this previously

mikethompson13:05:42

Perhaps look in console for any exceptions?

Hukka13:05:58

I did, but nothing in console (unrelated to actual bugs on what I was working on and which I solved)

Hukka13:05:58

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

troglotit14:05:33

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.

nenadalm08:05:38

Hi. I don't know if it's idiomatic, but I am doing exactly that.

nenadalm08:05:34

A bit... I am creating empty data with dispatch, but then removing the form from app-db using :on-dispose.

danielcompton20:05:02

@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