[Bug] @visactor/react-vtable在react18以下无法使用
Open
@Rui-Sun is already working on this.
Since Aug 18, 2024.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.5.6
Link to Minimal Reproduction
在react17的项目中使用@visactor/react-vtable
Steps to Reproduce
在react17的项目中使用@visactor/react-vtable
Current Behavior
在vtable-react-attribute-plugin.ts中使用了ReactDom.createRoot,这个API只有react18才有。和官网文档中描述的环境要求(react 16.0+)不一致,https://visactor.io/vtable/guide/Developer_Ecology/react。
Expected Behavior
支持react18以下
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
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.
Assessment
This issue has not been assessed yet.