• Stars
    star
    136
  • Rank 267,670 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React Native 工程化实践

React Native 工程实践

本文档讲述 React Native 的工程实践。

在线文档

  • 在工程中集成 Typescript, ESLint, Prettier 等

    • 使用 typescript 模版来初始化工程
    • 使用 ESLint 来检查代码
    • 使用 Prettier 来保证一致的代码风格
    • 配置 VS Code,当保存文件时自动运行 ESLint 的修复命令
  • 多环境配置

    • 使用 Configuration 和 Scheme 来实现 iOS 工程的多环境配置
    • 使用 Flavor 来实现 Android 工程的多环境配置
    • 编写原生模块,导出多环境配置到 React Native 代码
  • 使用 GitLab CI / CD 来实现持续集成与持续部署

  • 集成 Sentry 来监控应用崩溃问题

    • 创建 Sentry 项目
    • 如何配置 iOS、Android、React Native 工程
    • CI / CD 集成,自动注入 Commit SHA,自动上传符号表
  • 集成热更新(CodePush)

    • 如何注册 CodePush 热更新服务
    • 如何配置 iOS、Android、React Native 工程
    • CI / CD 集成,自动发布热更新,并上传符号表到 Sentry

More Repositories

1

HBDNavigationBar

A custom UINavigationBar for smooth switching between various states, including bar style, bar tint color, background image, background alpha, bar hidden, title text attributes, tint color, shadow hidden...
Objective-C
1,625
star
2

AndroidNavigation

A library managing navigation, nested Fragment, StatusBar, Toolbar for Android
Java
710
star
3

hybrid-navigation

React Native Navigation that supports seamless navigation between Native and React.
Objective-C
313
star
4

react-native-modal-translucent

Remove the StatusBar background for Modal on Android
Java
204
star
5

RxCommand

A UI-related rxjava component for android mvvm architecture
Java
128
star
6

MyMina

小程序工程化实践
JavaScript
87
star
7

Live

A RxJava Transformer handle Android Lifecycle as same as LiveData.
Java
81
star
8

RNDemo

演示一些 ReactNative 相关的技巧,包含嵌套滚动,自定义下拉刷新,避免键盘遮挡,隐私政策等等。
TypeScript
37
star
9

react-native-toast-hybrid

A toast that can be used for react-native, while available for native android and ios
Objective-C
36
star
10

react-native-keyboard-insets

A powerful Keyboard Aware View for React Native
Java
25
star
11

HBDStatusBar

A library handling status bar hidden
Objective-C
22
star
12

android-modularization

An android modularization demo with dagger2
Java
16
star
13

RxCommand-Swift

A command is an observable triggered in response to some action, typically UI-related. Inspired by RACCommand.
Swift
10
star
14

react-native-platform

Platform tools for React Native.
Java
5
star
15

MonoDemo

Monorepo 在 React Native 项目的实践
TypeScript
4
star
16

react-native-create-lib

Tool to create a React Native library module or view module with a single command
JavaScript
3
star
17

react-native-create-app

Tool to create a React Native Project with a single command
JavaScript
2
star
18

react-native-recyclerview

2
star
19

RN063

演示 react-native-navigation-hybrid 如何和 react-native 0.63 集成
Java
1
star
20

OSSRH-69319

1
star