Fork me on GitHub
#cljsrn
<
2021-09-25
>
girish07:09:45

I’m a clojure noob and have been able to create a Krell project and run it, hot reload and repl works fantastic. But now I want to create the UI components in jsx (or tsx) with Storybook.js, any hints? Some example repo will be really helpful.

niveauverleih14:09:48

@pez I tried some more but i can't get Krell to work with expo. I really would appreciate it if you could give me some instructions.

pez14:09:38

@nick.romer I’ll try to get some time to give it a shot again

niveauverleih20:10:59

@pez I think one of the things to do is to replace AppRegistry.registerComponent(appName, () => KrellRoot); by `import { registerRootComponent } from 'expo'; registerRootComponent(KrellRoot)\ ;` in index.js

pez21:10:53

Shouldn’t it be all you need to do? It was a while ago I fiddled with this, butI don’t remember there being many things to change. I remember it more like, “it just works!“. 😃

pez21:10:36

That could have been a “relative” feeling from me having tweaked something else to no end for little result.