Skip to content

jimmyleung/react-native-template-ts

ย 
ย 

Repository files navigation

React Native Template TypeScript

Clean and minimalist React Native template for a quick start with TypeScript.


๐Ÿ“ฆ Getting started

Installing Dependencies:

$ yarn install
$ yarn pod

Running the app:

$ yarn start

For starting the app on a specific OS:

$ yarn ios | yarn android

๐Ÿ‘ฉ๐Ÿพโ€๐Ÿ’ป Development

Navigation


State Management using Context API & Hooks

SVG

i18n & l10n

Setup:

How to use:

  • Follow setup languages at ./app/utils/translations
  • Using ./languages by common localize, using anywhere in the project
  • If you need to create translations in specific folder, please import it into ./app/utils/translation/localization
  • using hooks useTranslation from react-i18next like:
import React from 'react';
import { View } from 'react-native';
import { useTranslation } from 'react-i18next';

export function MyComponent() {
 const { t, i18n } = useTranslation();
 // or const [t, i18n] = useTranslation();

 return <View>{t('my translated text')}</View>
}

Animated

BottomSheet

UI Kit

Unit test

Firebase

If you wanna use firebase in this project, please check branch features/firebase with fully setup firebase & notification.

About

React Native template for building solid applications using Typescript ๐Ÿ’™

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 40.3%
  • Java 27.8%
  • C++ 12.1%
  • Objective-C 10.3%
  • JavaScript 3.5%
  • Makefile 2.6%
  • Other 3.4%