arc-progress
arc-progress copied to clipboard
React Error "Invalid Hook Call"
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
Steps to reproduce:
- npm install react-arc-progress -s
- crashed on render
Suggestions:
- Commit 9fddab6 fixes this error. Please release a patch containing this commit
Thx for your feedback, i forgot to release, now this issue is fixed https://github.com/Hzy0913/arc-progress/commit/3767a5e55f6edebe0b868bb04b87ab0e18935023
@Hzy0913 你好哥哥 我在vue中配置好了 页面没有呢 打开调试 有canvas这个元素 页面上没有任何显示
@Hzy0913 是渐变色填充不行
@zilingziling 感谢反馈,已修复,请更新到[email protected]