在快速刷新后,设备上的控制项停止工作: "当 canvasElement 未设置时无法渲染"
作者: ekrapfl创建于 2026年9月17日更新于 2026年9月24日
Describe the bug
After a Fast Refresh, the on-device Controls addon can stop working entirely: touching a control throws Error: cannot render when canvasElement is unset (and sometimes Error: cannot render when not prepared), the story does not update, and this does not self-heal on further Fast Refreshes — only a full reload (not Fast Refresh) fixes it.
内容来源: storybookjs/react-native