Giter Club home page Giter Club logo

githubapp's Introduction

GitHubApp

慕课网 - 新版 React Native 从入门到实战打造高质量上线 App(再升级)

Concepts

  1. DAO Data Access Object 数据访问对象

Issues

  1. dispatch is not a function
    正确写法:

    mapDispatchToProps = dispatch => {
      return {
        todo: dispatch(todo)
      }
    }
    

    错误写法:

    mapDispatchToProps = dispatch => ({
      todo: dispatch(todo)
    })
    
  2. Invariant Violation: Tried to get frame for out of range index NaN
    FlatList data 不是 array

  3. FlatList onEndReached 调用两次的问题解决 在 onEndReached 及 onMomentumScrollBegin 中增加标识判断
    同时为了确保 onEndReached 在 onMomentumScrollBegin 之后执行,在 onEndReached 中加入了 setTimeout,经验值 100ms
    issue FlatList onEndReached triggered 2 times

  4. 点击 mask 关闭 TrendingDialog 有抖动闪烁问题
    这是因为 Debug 包动画执行的比较慢,release 之后会好

Chapter

  1. 第 7 章 初次加载不显示数据 待解决
    FlatList 分页加载优化

  2. 第 8 章 【8-10】Android 物理返回键

  3. 第 9 章 收藏模块 实际收藏是要与后台交互的 【9-4】 详情收藏 -> 列表更新 -> 返回详情状态没有改变, 待解决 【9-6】tab 页面事件传递

githubapp's People

Contributors

robinjl avatar

Stargazers

 avatar  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.