storybookjs/storybook

[Bug]: Story docs block does not recover from errors thrown in React

開放

#22,213 建立於 2023年4月21日

 (1 則留言) (0 個反應) (0 位負責人)TypeScript (10,058 個分叉)batch import
addon: docsbughelp wantedsev:S3

倉庫指標

星標
 (89,909 顆星)
PR 合併指標
 (平均合併 7天 22小時) (30 天內合併 184 個 PR)

描述

If you add a throw new Error('bla') to a component rendered in a docs block, it will error but once you fix the issue, it won't recover:

https://user-images.githubusercontent.com/1671563/233017345-63c314cb-f951-49a6-8990-95bc3286f794.mov

Originally posted by @yannbf in https://github.com/storybookjs/storybook/issues/21440#issuecomment-1514347004

貢獻者指南