/ReactNativeTypeScript

Primary LanguageTypeScriptMIT LicenseMIT

React Native Typescript Example

Purpose of this repo is to learn react native with typescript and write test cases using react native testing library. It also includes hooks like useState, useEffect, useNavigation. It also includes basic redux setup with react-redux hooks like useSelector, useDispatch. It also includes basic native module bridge using swift (iOS) & Java (Android), I will update it with Kotlin in future.

Setup

git clone https://github.com/jigs611989/ReactNativeTypeScript.git
yarn install

iOS

cd ios
pod install
cd ..
yarn ios

Android

yarn android

Test

yarn test

TODO

  • Include API call example with Redux-Saga or GraphQL

Author

Jignesh, jigs.patelit@gmail.com

License

ReactNativeTypeScript is available under the MIT license. See the LICENSE file for more info.