Skip to content

jimmyleung/react-native-template-ts

This branch is up to date with leanhtuan1994/react-native-template-ts:release.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

afd3eff Β· Jul 2, 2022

History

33 Commits
Jun 2, 2022
Aug 11, 2021
Oct 18, 2021
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Oct 13, 2021
Jun 2, 2022
Aug 6, 2021
May 12, 2021
May 12, 2021
Oct 18, 2021
Oct 25, 2021
May 12, 2021
Jun 2, 2022
May 12, 2021
Jun 2, 2022
May 12, 2021
Jun 2, 2022
Jun 2, 2022
Jul 2, 2022
May 12, 2021
Oct 18, 2021
May 12, 2021
Oct 13, 2021
Oct 20, 2021
Jun 2, 2022
May 25, 2021
Oct 18, 2021
Oct 13, 2021
Jun 2, 2022

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%