Fork me on GitHub
#devcards
<
2016-03-18
>
nberger17:03:15

Hey @bhauman, at Roomstorm we use re-frame, and we really wanted to use devcards too, even for components that run subscriptions, so we found a way to deal with the global app state: extend devcards to mount each card inside of an iframe. Might sound a bit scary, but it can work. In fact, it's working for us. I have a branch iframe in my devcards fork, here's the diff with the current devcards master: https://github.com/bhauman/devcards/compare/master...nberger:iframe. What do you think about the idea? I can explain a bit about the implementation, and also please note that there's some things to polish, but basically it works