Nullifying Precipitation Machine
Miss any of our Open RFC calls?Watch the recordings here! »

create-expo-cljs-app

1.0.18 • Public • Published

Create Expo CLJS App

Create Expo ClojureScript apps with a single command.
This project focuses on making it easy for JS and React developers to get started with native mobile ClojureScript development.

If something doesn’t work, please file an issue.

Inspired by create-cljs-app (for web) and reagent-expo.

Quick Overview

yarn create expo-cljs-app my-app
cd my-app

Then start the Shadow compiler.

shadow-cljs watch app

In another terminal start the JavaScript bundler.

yarn start

When you’re ready to deploy to production, compile cljs for production release.

shadow-clj release app

And then follow expo instructions to make a build or OTA update.

Creating an App

Requirements

Expo Client and Expo CLI tools. Find those here.

Node 10.16.0 or later version You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.

Yarn

Java

To create a new app:

yarn create expo-cljs-app my-app

yarn create is available in Yarn 0.25+

It will create a directory called my-app inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-app
├── app.json
├── assets
│   ├── icon.png
│   ├── shadow-cljs.png
│   └── splash.png
├── babel.config.js
├── externs
│   └── app.txt
├── package.json
├── README.md
├── shadow-cljs.edn
├── src
│   ├── app
│   │   ├── db.cljs
│   │   ├── handlers.cljs
│   │   ├── handlers_test.cljs
│   │   ├── helpers.cljs
│   │   ├── index.cljs
│   │   ├── subscriptions.cljs
│   │   └── subscriptions_test.cljs
│   └── reagent
│       └── dom.cljs
└── yarn.lock

License

Create Expo CLJS App is open source software licensed as MIT.

Install

npm i create-expo-cljs-app

DownloadsWeekly Downloads

3

Version

1.0.18

License

ISC

Unpacked Size

25.8 MB

Total Files

120

Last publish

Collaborators

  • avatar