Fork me on GitHub
#re-frame
<
2023-05-12
>
James Amberger23:05:28

how would I go about getting the data shown in re-frame-10x in the repl/editor, e.g. the event stack?

1
p-himik00:05:51

Re-frame-10x is completely independent of your REPL setup. But you can use that print button near the event or DB value, and then in the JS console right click that value -> "Store object as global variable". And then I think you should be able to access it in your REPL with (.-temp1 js/window) (or some other variable name - depends on what the console has shown you).

🙌 2
hifumi12300:05:23

in chrome and firefox it’s usually temp0, temp1, …, so accessing via e.g. js/temp0 is sufficient

👍 2