#435·beautiful-react-hooks[TypeScript] 钩子不支持 ref 属性中的 null 或 undefined 类型作者: horarodriguezz创建于 2026年7月6日更新于 2026年7月6日描述错误 在 此问题 中,特别是在 此提交,添加了将 null | undefined 传递给 MutableRefObject 的可能性。 内容来源: antonioru/beautiful-react-hooks查看 GitHub 原文在 GitHub 查看讨论