Comments (2)
外面加一个状态呗
from hooks.
楼上正解,自己用一个 loading 状态来控制,不采用 useRequest 的 loading
from hooks.
Related Issues (20)
- useKeyPress: ["alt.c"] seems do not work HOT 3
- useKeyPress second argument always undefined
- useRequest 会考虑把 http status code 纳入处理过程么? HOT 1
- BUG useClickAway 不可用 HOT 6
- useWebSocket 没有提供重置latestMessage的方法 HOT 2
- useAntdTable 初始化请求执行2次 HOT 2
- useRequest在严格模式StrictMode下,缓存失效 HOT 9
- useInViewport 弄一個triggerOnce的參數比較好 HOT 3
- [RFC] useEventBus HOT 7
- 能不能把useTimeout升级一下? HOT 5
- 官网白屏 HOT 1
- [RFC]useSwipeEvent
- 官网国内镜像打不开了 HOT 1
- runAsync 时能否重新指定options
- useLongPress在pc电脑外接触控评时,不触发
- useUrlState doesn't delete initialState when state is set to undefined
- Virtual List did not Load New Data Rows After Scroll HOT 1
- resetState的随机数问题
- useAntdTable在manual=true的情况下,defaultParam和手动run都不会填充表单默认值
- [bug] useResponsive 源码缺乏 default 导出,与 babel-plugin-import 配合时出错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hooks.