storybookjs/storybook

Make HMR work with component JSDoc comments

Open

#20.734 aberto em 23 de jan. de 2023

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (10.058 forks)batch import
addon: docsbughelp wantedsev:S3

Métricas do repositório

Stars
 (89.909 stars)
Métricas de merge de PR
 (Mesclagem média 7d 22h) (184 fundiu PRs em 30d)

Description

When you update the comment on the component for a CSF file, the component is HMR-ed:

  • In some cases the new comment + docgen comes over the wire
  • In other cases it does not.

In all cases, the component in the store is not updated with new docgen info. We need to figure out what's happening and if it is possible to resolve.

Guia do colaborador