Skip to content

huyvvbka/react-native-template-ts

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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.

Visual Studio Extensions Recommendation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 60.2%
  • Java 18.6%
  • Objective-C 12.2%
  • JavaScript 5.3%
  • Ruby 2.0%
  • Starlark 1.6%
  • Shell 0.1%