Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-31 | 2.2 kB | |
v3.9.5 source code.tar.gz | 2025-08-31 | 618.7 kB | |
v3.9.5 source code.zip | 2025-08-31 | 971.5 kB | |
Totals: 3 Items | 1.6 MB | 4 |
What's Changed
- :new: 新功能
- 由 @Arktomson 贡献,在 https://github.com/alibaba/hooks/pull/2844 中将 js-cookie 的类型包放到生产依赖中。
- :hammer_and_wrench: 代码重构
- 由 @BH4HPA 贡献,在 https://github.com/alibaba/hooks/pull/2843 中对 useUrlState 进行重构,将 initialState 重命名为 baseState。
- :wrench: 项目配置
- 由 @crazylxr 贡献,在 https://github.com/alibaba/hooks/pull/2848 中禁用了 es 构建的 sourceMap,以避免发布 .js.map 文件。
- :book: 文档更新
- 由 @atharva6868 贡献,在 https://github.com/alibaba/hooks/pull/2840 中为 useBoolean 钩子添加了新的使用示例。
- :bug: Bug 修复
- 由 @guaijie 贡献,在 https://github.com/alibaba/hooks/pull/2838 中修复了 refreshDepsAction 提供后依赖刷新没有执行的 bug。
- :new: New Features
- Contributed by @Arktomson, added the type package of js-cookie to the production dependencies in https://github.com/alibaba/hooks/pull/2844.
- :hammer_and_wrench: Code Refactoring
- Contributed by @BH4HPA, refactored useUrlState and renamed initialState to baseState in https://github.com/alibaba/hooks/pull/2843.
- :wrench: Project Configuration
- Contributed by @crazylxr, disabled the sourceMap for es build to avoid publishing .js.map files in https://github.com/alibaba/hooks/pull/2848.
- :book: Documentation Updates
- Contributed by @atharva6868, added a new usage example for the useBoolean hook in https://github.com/alibaba/hooks/pull/2840.
- :bug: Bug Fixes
- Contributed by @guaijie, fixed the bug that the dependency refresh did not execute after refreshDepsAction was provided in https://github.com/alibaba/hooks/pull/2838.
New Contributors
- @BH4HPA made their first contribution in https://github.com/alibaba/hooks/pull/2843
- @Arktomson made their first contribution in https://github.com/alibaba/hooks/pull/2844
- @atharva6868 made their first contribution in https://github.com/alibaba/hooks/pull/2840
Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.4...v3.9.5