storybookjs/storybook

Make HMR work with component JSDoc comments

Open

#20 734 ouverte le 23 janv. 2023

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)TypeScript (10 058 forks)batch import
addon: docsbughelp wantedsev:S3

Métriques du dépôt

Stars
 (89 909 stars)
Métriques de merge PR
 (Merge moyen 7j 22h) (184 PRs mergées en 30 j)

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.

Guide contributeur