Fork me on GitHub
#re-frame
<
2023-03-21
>
Drew Verlee16:03:46

Does anyone want to have a live re-frame meetup where we can casually discuss re-frame stuff? If so, respond in thread here!

hadils23:03:57

Hi @U0DJ4T5U1 I am interested if you’re including react native expo projects.

Drew Verlee17:03:40

Quick poll, who uses the ability to re-play re-frame events? And how? the ability to re-play the log is https://day8.github.io/re-frame/EffectfulHandlers/#bad-why for debugging and testing, is that currently working out for everyone?

2
lassemaatta17:03:19

I recall using re-frame-10x for debugging events as per https://github.com/day8/re-frame-10x#app-db. Or to be more precise: situations where multiple events happen almost at the same time and during that something unexpected is rendered. It's nice to step through the individual events and see the corresponding view.

👍 2
hifumi12317:03:45

I can also attest re-frame-10x is useful for moving back in time and seeing how an event altered your db. It's useful for debugging

👍 4
Drew Verlee18:03:48

@U4YGF4NGM why thumbs down the question? I have been on three reframe projects and not once have i been able to take advantage of this for various reasons. So from my perspective, the reframe community was fairly out of sync with the documentation in that regard. So, It's good to hear that it works out for others, it motivates the idea that it's worth the effort.

Daniel Craig19:03:18

Sometime the thumbs down is just a 'no' response, I would probably assume that was the intent there

2
Daniel Craig19:03:54

There's no karma or reputation to be gained here, it's not a downvote 😁

👍 2
lilactown20:03:26

yeah i was meaning to respond to the poll 😅 no I do not use the replay

Joseph Graham18:03:26

On the docs on page "Effectful Handlers" it mentions solving the impure handler by "some magic, not yet revealed". But it's never actually revealed as far as I can find. Is the solution to use an interceptor?

p-himik18:03:43

Where exactly?

p-himik18:03:07

Ah, found it. The search there works weirdly.

p-himik18:03:50

Yeah, it's described in the "Coeffects" section.

Joseph Graham18:03:47

so it is considered OK for interceptors to be impure?