Download the example or clone the repo:
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/basic-setup
cd basic-setup
Install the dependencies
npm install
Run with live reloading in Sketch
npm run render
Or, to install as a Sketch plugin:
npm run build
npm run link-plugin
Then, open Sketch and navigate to Plugins → react-sketchapp: Basic skpm Example
skpm
is the easiest way to build react-sketchapp
projects - this is a minimal example of it in use.