Reagent React Native

July 20, 2015

Reagent is known to work with React Native, with demo code in a repository by chendesheng. I wanted to ensure that things work with Ambly, and in particular support ClojureScript's REPL model which embraces being able to interactively change code during development.




I was able to get things to work with only some minor tweak's to chendesheng's code. I essentially went through the ClojureScript React Native Quick Start, and replaced the Om-based demo code with chendesheng's Reagent code.

Here is a demo of it working:

 




 

The repo for this demo is up on GitHub.

Tags: React Native iOS ClojureScript