alibaba / hooks

A high-quality & reliable React Hooks library. https://ahooks.pages.dev/
https://ahooks.js.org/
MIT License
13.95k stars 2.7k forks source link

fix: useControllableValue 当props为null时代码兼容(#2630) #2636

Closed mmmml-zhao closed 2 weeks ago

mmmml-zhao commented 1 month ago

[English Template / 英文模板]

🤔 这个变动的性质是?

🔗 相关 Issue

https://github.com/alibaba/hooks/issues/2630

💡 需求背景和解决方案

useControllableValu第一个参数传入null时,页面不会报错。

📝 更新日志

useControllableValu第一个参数传入null时,页面不会报错。

语言 更新描述
🇺🇸 英文
🇨🇳 中文 *

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项。⚠️

CLAassistant commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.