Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.65 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.65 KB

react-primitives-app

Build Status Greenkeeper badge FOSSA Status

Example app of a cross-platform react app powered by react-primitives

Example of cross-platform development with react Watch high-quality

I started with a sample react-native app by running exp init. Then added some code from the project generated with create-react-app. That included a new entry point and react-scripts build system. And finally I added some more code from react-sketchapp. The result is you can run the src/App.js on 3 different platforms:

Run yarn to install dependencies.

  • yarn native to run expo.
  • yarn web for web. And, you guessed it,
  • yarn sketch.

Things to note about sketch, before running yarn sketch, you need to open a new project in sketch. And if you get TypeError: {} is not a function. (In '{}("")', '{}' is an instance of Object), do rm -rf node_modules; yarn

License

FOSSA Status