Skip to content

[Bug] @visactor/react-vtable 用 vite 开发工具时下无法渲染 #5203

Description

@moonsky-all

Version

"@visactor/react-vtable": "^1.26.3"; "@visactor/vtable": "^1.26.3"

Link to Minimal Reproduction

https://github.com/moonsky-all/demo-vite

Steps to Reproduce

  1. pnpm create vite
  2. pnpm add @visactor/react-vtable @visactor/vtable
  3. 在项目里使用 ListTable
  4. 启动 vite 服务
  5. 在浏览器打开开发地址即可在控制台看到这个报错

Current Behavior

Image Image

Expected Behavior

应该能正确渲染表格才对

Environment

"react": "^19.2.7",
"react-dom": "^19.2.7"
"vite": "^8.1.0"

System:
OS: macOS 15.7.5
CPU: (12) arm64 Apple M2 Max
Memory: 98.22 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.14.0
npm: 11.9.0
pnpm: 11.8.0
bun: 1.3.13
Deno: 2.1.7
Browsers:
Chrome: 149.0.7827.115
Edge: 149.0.4022.80
Firefox: 131.0
Safari: 26.4

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions