Fork me on GitHub
#cljsrn
<
2022-11-21
>
Татьяна08:11:52

I want to use Storybook. What should this file krell_index.js be? Does this approach allow to write components in ClojureScript?

robertfw10:11:02

I don't know enough to answer your question - I'm just embarking down the cljsrn rabbit hole myself - but I did spot a template using Krell+Storybook that might have some hints https://github.com/joshuamiller/react-native-template-cljs-krell-storybook

Татьяна10:11:57

As far as I understand, in this example, the Storybook components are not written in CLJS. So I wondered if Krell could build the CLJS stories for the Storybook.

hadils11:11:30

I have been able to integrate CLJS components with components developed with Storybook. The Storybook components are integrated with CLJS by requires, so they didn’t interfere with anything else I was working on.