Fork me on GitHub
#cljsrn
<
2022-05-26
>
joshmiller03:05:37

I have to say, having shaved the yak of JS components and Storybook, the workflow is pretty amazing. Not only is Clojurescript better at handling state than JS is, by separating the two you remove all temptation to put too much state into your components.

👍 3
1
loganrios07:05:37

I’m super curious about how you did this! I’ve been fighting getting Storybook + CLJS for the past two weeks, and nearly gave up before I saw your posts. Would you happen to have a sample project publicly available?

joshmiller19:05:37

I have about half of one, I’ll finish it up and put it online this week.

joshmiller20:05:54

@logan727 Actually it turns out it was easier to just add a PR to your repo demonstrating how to include JS in CLJS: https://github.com/loganrios/ksapp/pull/1

loganrios21:05:05

Wow, thanks so much!! I really appreciate the expertise.

joshmiller21:05:02

No problem! Let me know if you have any issues.