Fork me on GitHub
#re-frame
<
2020-04-20
>
ingesol11:04:50

Version 0.4.0 of kee-frame has been released, including an FSM implementation and an error boundary component. Announcement here https://www.reddit.com/r/Clojure/comments/g4qr4a/keeframe_040_with_fsm_for_declarative_ui_flow/

🎉 20
ingesol11:04:32

More articles about using FSMs on the frontend coming later.

🙏 8
👍 4
andrea.crotti12:04:56

stupid question maybe but accorrding to https://github.com/day8/re-frame/blob/master/docs/FAQs/Inspecting-app-db.md I should be able to access the reframe db from the js console as well

andrea.crotti12:04:11

it works in my local machine but it doesn't on the production build

andrea.crotti12:04:22

any reason why it would be different?

mikethompson12:04:05

Hmm. advanced compilation on the production build?

mikethompson12:04:55

Causing symbol munging?

andrea.crotti13:04:45

so it's still there somewhere but with a differnet name

andrea.crotti13:04:55

no easy way to access it?

p-himik13:04:21

Create a getter in your own code, mark it for export - it won't be mangled.

hindol14:04:41

I have a related question. Maybe you know it. I was reading the Joy of Clojure and it teaches how to inspect the AST of ClojureScript to identify all the functions that should not be renamed. Is there a tool that automatically does this?

p-himik14:04:46

No idea. You should ask in #clojurescript

👍 4
andrea.crotti13:04:57

but maybe also from the sourcemap I should find out what's the actual name?

p-himik13:04:28

Maybe - I've never done it. Sounds like it should be possible.