storybookjs/storybook

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

オープン

#22,213 opened on 2023/04/21

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (10,058 件のフォーク)batch import
addon: docsbughelp wantedsev:S3

Repository metrics

Stars
 (89,909 個のスター)
PR merge metrics
 (平均マージ 7d 22h) (30d で 184 merged PRs)

説明

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

コントリビューターガイド