react-component / react-component/util
Share experience: When rc-util 5.3.0 release,I compile failed
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 205
- Avg merge
- 11d 17h
- Merged PRs (30d)
- 4
Description
Problem Description
When your project contains both antd4 and old rc-component,there is compile error.

Keyword
Module not found: Error: Can't resolve 'rc-util/es/Dom/isVisible
Why Error
rc-util 5 and rc-util 4 are both used by antd4 and old rc-component
Solution
add "rc-util": "^5.3.1" to package.json
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json and the reported Module not found error for rc-util/es/Dom/isVisible. Check the dependency versions used with antd4 and the old rc-component, then verify that compilation succeeds with rc-util 5.3.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100