Fork me on GitHub
#cljsrn
<
2022-06-15
>
Emile Snyder05:06:53

I just watched the "ClojureScript in the Age of TypeScript" talk; very cool demos, very cool talk. I'm in a weird place though of having come to Clojure(Script) and reagent/re-frame without having come up through Javascript world. Storybook in particular looks very interesting, but I am wondering how hard it is to use with reagent component development for someone w/ weak javascript (and particularly weak javascript ecosystem) knowledge. I note in the talk that Vouch is doing all the UI component dev in React directly, not ClojureScript.

lepistane07:06:02

You will learn it by accident. It's just a programming language/set of ideas/concepts

Lars Kristian Maron Telle08:06:03

Try using this React Native template, @emile: https://github.com/joshuamiller/react-native-template-cljs-krell-storybook. It should give you a feel for it.

👀 1
Emile Snyder14:06:07

@U45SLGVHV by "it" I take it you mean Javascript? That is mostly how I have learned it so far, I just would rather write ClojureScript, but wasn't sure if using Storybook that way would be plagued w/ various interop/friction/tooling annoyances.

kennytilton13:06:13

@emile "I just would rather write ClojureScript" Slightly OT....would ClojureDart suffice? https://github.com/Tensegritics/ClojureDart That is another option if we just want mobile (and web and desktop). It is still a WIP, but it is quite usable.

dnolen13:06:01

@emile I think there are Storybook templates for direct ClojureScript usage now. Still for some projects/companies doing some development in JS is a good onboarding strategy.

🙏 3
dnolen13:06:54

FWIW, I think pure component dev in JS is fine because it is might not be a very data driven problem in many cases.

dnolen13:06:06

it also naturally minimizes the various interop issues one might encounter

👍 1