VTable
VTable copied to clipboard
[Bug] @visactor/react-vtable在react18以下无法使用
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
目前VTable在不使用自定义组件功能时,是可以在react17版本运行的;自定义组件功能是基于[email protected]版本开发,react-reconciler相关代码强依赖了react18。这部分说明我们在文档中补全
我自己改了一下降到0.26.2了,项目是react17
请问这个react 17支持了吗 我现在还是报错 想使用antd的button组件 渲染不了