Overview
NatalBootstrap is a ClojureScript-based React Native app setup utility created by Dan Motzenbecker, operating under the MIT License. It automates the process of configuring a React Native app with ClojureScript, building on the work of Mike Fikes and the Ambly project.
Features
- Automated Setup: Natal automates the majority of tasks involved in setting up a React Native app with ClojureScript.
- React Interface Templates: Offers templates for setting up apps based on Om (Om Now) or Om Next for convenience.
- Interactive Workflow with REPL: Provides a means to start an interactive workflow by connecting to the simulator’s REPL.
- Device Selection: Allows manual selection of the simulator device to connect to with the option to set specific preferences.
- Xcode Integration: Includes functionality to quickly open the Xcode project for advanced settings and error troubleshooting.
- Command Line Interface: Utilizes a command-line interface for ease of use and efficiency in setting up and managing projects.
Installation
- Ensure all required dependencies are installed.
- Install Natal CLI using npm:
npm install -g natal - Bootstrap a new app by running:
natal init YourAppName - To launch the app on the simulator without Xcode, run:
natal launch
Summary
NatalBootstrap simplifies the setup process for ClojureScript-based React Native apps by providing automation for various tasks such as project initialization, REPL connection, device selection, and Xcode integration. With features like React interface templates and command-line interface support, Natal aims to streamline the development workflow for creating React Native applications with ClojureScript.