cljsrn

tifa 2022-11-21T08:19:52.166949Z

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

robertfw 2022-11-21T10:04:02.237729Z

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

tifa 2022-11-21T10:14:57.124199Z

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.

hadils 2022-11-21T11:35:30.161379Z

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.