Giter VIP home page Giter VIP logo

react-redux-tabs's Introduction

React-redux-tabs

desc:

  • 利用redux和相关第三方库实现tabs的切换,异步获取相关数据等。

运行:

  • tips:可打开开发者工具Redux查看数据状态变化
  • 第一种方法:npm start
  • 第二种方法:npm run build npm install -g serve serve -s build

问题:

  • 1.首次进入tabs时,会在componentDidMount阶段去执行dispatch获取数据,这个地方需要数据的请求可以在页面载入前预加载,可优化~
  • 2.当文件content-length过大时,请求会很慢,可尝试使用blob或者buffer的形式传递接收数据,此处可优化~

react-redux-tabs's People

Contributors

caifanglin avatar

Watchers

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