Git Product home page Git Product logo

tsmobile's Introduction

TSMobile

记录学习 react-native-template-typescript

第一篇踩坑记录

安装过程中遇到的坑坑洼洼 https://juejin.im/post/5e4a4c17f265da570d7354c8

安装 redux 相关依赖

yarn add redux react-redux redux-saga redux-persist redux-type-actions immer reselect @react-native-community/async-storage

yarn add @types/react-redux -D

  • redux
  • react-redux // 链接 react 组件
  • redux-saga // 处理异步副作用
  • redux-persist // 持久记录 redux 状态 redux-type-actions // 增强类型提示
  • immer // 简化不可变类型状态的修改
  • reselect // 缓存 selector 以减少不必要的状态计算
  • @types/react-redux // react-redux 的类型声明
  • @react-native-community/async-storage 本地存储,APP 退出也能记录的状态

使用 react-navigation v5

https://reactnavigation.org/docs/en/getting-started.html

yarn add @react-native-community/masked-view @react-navigation/native @react-navigation/stack react-native-safe-area-context

tsmobile's People

Contributors

xinyuexiao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.