An open API service indexing awesome lists of open source software.

https://github.com/orta/systems-theory

React Native in TypeScript that feels good
https://github.com/orta/systems-theory

Last synced: about 1 year ago
JSON representation

React Native in TypeScript that feels good

Awesome Lists containing this project

README

          

### React Native in TypeScript

This repo aims to take a vanilla JS React Native app, and transform it into a working, awesome, TypeScript one.

It is a sibling project to [relational-theory](https://github.com/alloy/relational-theory) which strives to build a similar system but from a web perspective.

We build specifically for working with VS Code.

Aims:

- [ ] Components all have defined State / Props
- [ ] Hot Module Reloading on Save
- [ ] Source Mapping in debugging works
- [ ] Babel Transformations work for Relay
- [ ] Testing / Watcher mode in Jest is 👍
- [ ] Source Mapping works in Tests

### Why TypeScript?

There'll probably be a longer write up on the Artsy blog once we've got this stuff in production. However, the TLDR is that TypeScript provides more mature tooling, with the accessibility of being built in JavaScript.

### References

Code:

* [mrpatiwi/ReactNativeTS](https://github.com/mrpatiwi/ReactNativeTS)
* [philikon/ReactNativify](https://github.com/philikon/ReactNativify)
* [frogcjn's debugging gist](https://gist.github.com/frogcjn/3bb47ce01a5168d8cd570a46cc71bb02)

Text:

* [Microsoft/TypeScript/#11441](https://github.com/Microsoft/TypeScript/issues/11441)
* [reactnative.tools](http://www.reactnative.tools/tutorials/2016/09/20/reactnative-ts/)
* [react-weekly](https://medium.com/react-weekly/react-native-and-typescript-ad57b7413ead#.vumtp0ua5)
* [raygun.com](https://raygun.com/blog/2016/07/react-native-typescript/)