Giter Site home page Giter Site logo

TODO about dva-example-user-dashboard HOT 2 OPEN

dvajs avatar dvajs commented on May 25, 2024
TODO

from dva-example-user-dashboard.

Comments (2)

raisezhang avatar raisezhang commented on May 25, 2024

在动态加载组件时,能在加载组件的过程中,渲染一个 loading 组件么。 把当前的页面替换掉~

主要是点击后页面延迟相应这个效果有点差~

类似于
<Router onEnter={(nextState, cb)=>{cb(null, LoadingWidget);}} getComponent... />

from dva-example-user-dashboard.

kevinlvhsl avatar kevinlvhsl commented on May 25, 2024

同问。 在容器组件没有加载到需要的数据时, 可以让子组件暂时不渲染,给一个全局或局部loading效果。
还有,@sorrycc ,有推荐好一点、齐全一点的使用dva+antd的项目吗? 想看看相对好一点的实践案例。 以便更好的使用dva。 等待。。。

from dva-example-user-dashboard.

Related Issues (20)

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.