React-Native UI Explorer written in Typescript
This project is a direct port to Typescript of the original React Native UIExplorer that comes as part of the react-native distribution
The two main goals are to provide:
- a testbed for the react-native type definitions I am wotking on : DefinitelyTyped/DefinitelyTyped#6651
- copy/paste examples of React Native in Typescript
I perform this work on scarce spare time. Help is welcome
js
: the original, not yet converted, filestypescript
: the converted filesgen
: the js generated from typescript
- Run
npm install
once to install various dependencies (grunt-cli
must be installed globally) - Run
grunt dev
to transpile the Typescript in JS - Open the IOS project in XCode (Android is untested at this stage) and run it
Use grunt dev
to compile or have your IDE output the JS in the gen
folder.
The RN server will automatically pick-up the new js
See Facebook license for examples