Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Have Appdb state at startup #263

Closed
stumitchell opened this issue May 14, 2020 · 2 comments
Closed

Have Appdb state at startup #263

stumitchell opened this issue May 14, 2020 · 2 comments

Comments

@stumitchell
Copy link

Currently when I wish to look at appdb and press ctrl-h I see the following
Screenshot 2020-05-14 at 21 00 17

The only way to get state is to trigger another event.

@kimo-k
Copy link
Contributor

kimo-k commented Dec 1, 2023

I added a workaround for now. If you include the closure-define day8.re-frame-10x.init-event? true, then 10x will dispatch an event in the client re-frame which should cause the 10x UI to sync up.

See how the example project does it:

day8.re-frame-10x.init-event? true}

@kimo-k kimo-k closed this as completed in 343df85 Dec 7, 2023
kimo-k added a commit that referenced this issue Dec 7, 2023
…opt-in)"

This reverts commit 0714488.

A workaround that didn't work very well. Making progress on a real
solution.

See #263
@kimo-k
Copy link
Contributor

kimo-k commented Dec 7, 2023

Now dispatch-sync emits a special trace to let 10x know that it has finished. You can upgrade your project to re-frame 1.4.1 to make this work. I think this particular bug is solved, but I'm still on the lookout for related bugs.

kimo-k added a commit that referenced this issue Dec 7, 2023
…opt-in)"

This reverts commit 0714488.

A workaround that didn't work very well. Making progress on a real
solution.

See #263
kimo-k added a commit that referenced this issue Dec 7, 2023
Fixes #263.
Fixes #151.

Client must be using re-frame 1.4.1 or higher, for these fixes to take effect.
kimo-k added a commit that referenced this issue Dec 7, 2023
…opt-in)"

This reverts commit 0714488.

A workaround that didn't work very well. Making progress on a real
solution.

See #263
kimo-k added a commit that referenced this issue Dec 7, 2023
Fixes #263.
Fixes #151.
Fixes #154.

Client must be using re-frame 1.4.1 or higher, for these fixes to take effect.
kimo-k added a commit that referenced this issue Dec 7, 2023
…opt-in)"

This reverts commit 0714488.

A workaround that didn't work very well. Making progress on a real
solution.

See #263
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants