react-styleguidist: Links don't work anymore for `pagePerSection`

Current behavior

Since 11.0.9 (I suspect because of this PR), when clicking on any component (with pagePerSection: true) the routing goes to #/-?id=ComponentName.

To reproduce

  1. Configure styleguidist to have pagePerSection: true
  2. Click on any component.
  3. The link will resolve to a Page Not Found.

Expected behavior

Routing to the actual component page, showing the component.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 17 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Please donโ€™t use the current implementation as the source of how it should work ๐Ÿ˜‰ I also havenโ€™t written any of this code so I canโ€™t say either how it should work.

But for me having each component on its own page looks like the most common use case, and I remember it used to work at some point.

๐ŸŽ‰ This issue has been resolved in version 11.1.3 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€