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
- Host: GitHub
- URL: https://github.com/orta/systems-theory
- Owner: orta
- Created: 2017-01-09T00:54:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T20:38:18.000Z (about 9 years ago)
- Last Synced: 2025-03-31T04:37:47.427Z (about 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 13
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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/)