Writing Mobile apps in ClojureScript in 2021

In early 2017, Frankie Sardo wrote ‘Writing ClojureScript native apps is easy’ on the JUXT blog. I recently came across it again and was surprised at how much it still applies today. After all, 4 years is an awfully long time in Mobile App tooling years. The basic process of getting CLJS code into a native app is unchanged:

  • ClojureScript gets compiled into JavaScript
  • Javascript is processed by ReactNative and compiled into native code
  • The native code is run on your mobile device (or simulator/emulator)

It’s worth noting that there are other ways to write an app in Clojure(Script) these days. You could use GraalVM with SCI, Gluon, or mix native ObjectiveC/Swift with ClojureScript with this technique. However, I personally think that the React Native approach is by far the most ‘production ready’ approach currently available.

So what has changed in the last 4 years?

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Corresponding tweet for this thread:

Share link for this tweet.