cljsrn

girish 2021-09-25T07:38:45.295700Z

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.

niveauverleih 2021-09-25T14:08:48.298100Z

@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.

pez 2021-09-25T14:34:38.299100Z

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

niveauverleih 2021-10-04T20:44:59.305200Z

@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

pez 2021-10-04T21:13:53.305400Z

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!“. 😃

pez 2021-10-04T21:14:36.305600Z

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

niveauverleih 2021-09-25T14:35:21.299200Z

👍