cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
naomarik 2021-05-05T09:55:57.137100Z

Yeah I'm also interested in knowing more about this, mainly what kinds of problems this allows you to solve that a normal cljs + RN environment doesn't. Also ambly says it's for iOS, is there a dev version that works with java/android?

dnolen 2021-05-05T12:54:26.137800Z

@raspasov we're creating an SDK for Java/iOS and we don't want to write it twice

dnolen 2021-05-05T12:54:46.138300Z

we just write it in ClojureScript and surface the appropriate interface for the consumer

dnolen 2021-05-05T12:55:09.138800Z

it's exactly what RN does - but in this case not about UI

raspasov 2021-05-05T13:22:52.139300Z

Ah, I see, that’s nice.

pez 2021-05-05T15:16:19.148500Z

On the subject of the killer app. I have demoed ClojureScript mobile app development quite a few times at various meet-ups lately. It’s super rewarding, people get super intrigued by how state is never lost and how the editor reaches in to the running app, able to both inspect it and mutate it. Yesterday someone even said: “This is magical”. I think it was not meant as it being strange tech, but rather that he was being amazed by the implications of what I was showing. The meet-up was recorded, Most people in here do not need it, but you might want to link people to it when you know someone might be interested in adding interactive programming to their app development workflow. https://www.youtube.com/watch?v=5ZyAhGv55V0

4👏
dotemacs 2021-05-05T15:18:19.149100Z

It might be worth adding that to https://cljsrn.org @pez

dotemacs 2021-05-05T15:18:35.149400Z

Ah, I see that it might be already there 🙂

pez 2021-05-05T15:26:40.150300Z

It is? I doubt it. 😃 But some other video might be there. I’ll have a check. Thanks for the reminder!

1👍
dotemacs 2021-05-05T15:27:27.150900Z

Well, I saw one of your videos linked in there and I assumed that it might be this one above…

pez 2021-05-05T15:28:41.151700Z

I think that what we can conclude is that there is too little content about this being produced out there. Haha.

1😀
dnolen 2021-05-05T15:37:10.152400Z

@pez so many demos have been given but I think we need to keep giving them

dnolen 2021-05-05T15:37:27.152800Z

my theory is that people previously did not understand what they were seeing

dnolen 2021-05-05T15:37:43.153300Z

i.e. they don't even have the context to integrate it into their experience

dnolen 2021-05-05T15:37:57.153900Z

however as hot-code reloading in RN and Flutter continue to blow people's minds

dnolen 2021-05-05T15:38:05.154200Z

they can now "see" what we're talking about

dnolen 2021-05-05T15:38:26.154900Z

that we have subsumed that and gone to subsequent logical conclusions

dnolen 2021-05-05T15:39:34.156700Z

especially since this whole model of programming is unachievable through ES6 / TypeScript / Dart

dnolen 2021-05-05T15:39:45.157300Z

i.e. they can see the next step but they can never arrive

dotemacs 2021-05-05T15:43:02.159500Z

Hmm, I think that people do understand it, but that more attention needs to be given to the libraries that you can find in the plain React Native. For example, look at the questions being asked here in this channel (putting aside the fact that you’ve got multiple options to develop your app in: shadow, krell, expo, fulcro,…): - what setup do people have for integration testing - what UI library do they use for styling the app Hot reloading, while great, it exists in React Native and people, aren’t coming to cljsrn for that. If they are coming to cljsrn, they’ve already bought into the ClojureScript and the fact that they can develop on mobile is another plus. Just the way I see it.

dotemacs 2021-05-05T15:46:10.161400Z

cljsrn is very much “here is a circle and here is full detailed drawing of an owl” meme. And I say that not to disparage it, because I like cljsrn, but to point out that there are significant gaps in those steps in the middle from the simple hello-world app and a full production release.

pez 2021-05-05T15:57:03.168400Z

> my theory is that people previously did not understand what they were seeing and > I think that people do understand it I think that often people still do not understand what they are seeing. Today sometimes they think they see the same thing as hot reload in React Native. (I guess this is what you allure to with subsequent logical conclusions, @dnolen?) In my latest spree of demos I have tried hard to make the audience realize that they are seeing something else. I might come at it from a slightly unusual angle, since I build the tools helping to reach in to that running app. I might of course be fooling myself, but juding from the comments and questions I get, it does seem that at least some of them actually are getting the difference.

pez 2021-05-05T15:59:33.168500Z

The part of this particular recording where I talk about the editor and the app making love got stomped on by Google Meet this time, but there is another recording showing this. https://www.youtube.com/watch?v=LR7Wv6bSZqE (I end up fat-fingering in a bug and then panicking at this event, but anyway 😃 .)

1👆
joshmiller 2021-05-05T16:33:39.169Z

Sounds like somebody needs to write a book.

joshmiller 2021-05-05T16:33:50.169400Z

If you’re willing to do that on top of the quicksand that is the RN ecosystem, you’re braver than I am.

3😂
dnolen 2021-05-05T17:06:29.170500Z

@dotemacs I'm not referring to people on this channel who probably have become familiar w/ Lisp style live-programming (that's why we're here)

1👍
dnolen 2021-05-05T17:06:36.170800Z

I'm talking about the wider audience

naomarik 2021-05-05T17:33:11.176800Z

I've been pretty much making a living on clojure/script for the last 5-6 years. What blew my mind recently was how easy it was to get the latest RN project setup using RN's own cli tools and getting it to compile within my existing project using the same cljs profile in deps.edn and being able to import a namespace my existing web frontend is using that imports other namespaces including cljc files that contain all my validation code and utility functions that my backend is also using.

2🤘
pez 2021-05-05T17:43:25.178100Z

That is an awesome story, @naomarik . Should be told and sold wide and far.

naomarik 2021-05-05T19:41:18.178500Z

Will be a lot more interesting when I finish the apps 😉