Comments (9)
你绝对3.7.8 提升到了3.7.9,没有锁版本
from hooks.
For me it looks like a breaking change or regression introduced on version v3.7.9.
I'm using the useDebounceEffect
hook.
Edit:
Comparing v3.7.8 to v3.7.9, I think the issue is related to the changes from loadash
to loadash-es
. Some possible related commits are be1e141 , a6313e9 , 4d9b923 , 7843f02
Some changes have reverted: #2453.
from hooks.
For me it looks like a breaking change or regression introduced on version v3.7.9. I'm using the
useDebounceEffect
hook.Edit: Comparing v3.7.8 to v3.7.9, I think the issue is related to the changes from
loadash
toloadash-es
. Some possible related commits are be1e141 , a6313e9 , 4d9b923 , 7843f02Some changes have reverted: #2453.
I'm using version 3.1.3 and not the latest version
from hooks.
你绝对3.7.8 提升到了3.7.9,没有锁版本
我没用最新版本,项目很早就创建了,当时下载的版本后面就一直没有更新过。昨天开始就突然编译不通过了
from hooks.
I used the latest version 3.7.9, and have the same issue.
My lodash-es version is 4.17.21
from hooks.
I locked the 3.1.3 version and the project is ready to compile
from hooks.
I revert ahooks version to 3.7.8, and it builds success.
from hooks.
使用了antd-mobile,里面依赖了ahooks没有锁版本,需要再package.json中加入:
"resolutions": {
"ahooks": "3.7.8"
}
顺带说一句,npm打包没有报错,换成yarn后有错误
from hooks.
lodash-es 已回退到 lodash,目前 v3.7.10 已发版,各位可以升级下,如果还有问题的话,请随时反馈,感谢。
from hooks.
Related Issues (20)
- useCookieState: Missing option types HOT 2
- useCookieState SetCookie replaces spaces with % HOT 2
- 3.7.9 版本存在错误的 cjs 模块依赖 HOT 1
- 本地开发 ahooks 时,单测报错(When developing ahooks locally, an error is reported in a single test)
- useAntdTable 的 getTableData函数的第二个参数 formData 希望可以通过设置来返回包含 未显式声明在form中的字段 HOT 4
- [Feature] 是否有计划支持 Antd Table rowSelection HOT 11
- [RFC] useFreezeScroll
- Will debounced requests impact performance? HOT 1
- `useSize` Use `getBoundingClientRect` to get the exact size HOT 1
- [useThrottle] 组件渲染后在 wait 之前更新 state 不会立即更新 throttledValue HOT 1
- useMeomoizeFn缓存的debounce函数失效 HOT 1
- 官网访问503 HOT 2
- useRequest 自定义刷新行为 搭配ready,ready时第一次的参数不生效。 HOT 4
- Hydrating from useLocalStorageState HOT 2
- useVirtualList 与 useInfiniteScroll 结合使用时 调用 reload VirtualList 没有自动滚动到 顶部 HOT 4
- [Feature]希望新增一个useWorker的hooks方便操作web worker HOT 2
- useLatest是否属于渲染期间修改? HOT 5
- useVirtualList 最后一个元素的高度不能超过 container 的高度 HOT 2
- 关于useSelections的一个想法 HOT 2
- 官网顶导样式问题 HOT 1
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.