Skip to main content

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.

Visual Studio Extensions Recommendation#

  • Auto Close Tag
  • Bracket Pair Colorizer
  • Code Spell Checker
  • Color Highlight
  • GitLens
  • Svg Preview
  • Version Lens