Closed Venefilyn closed 1 year ago
Hello 👋 thank you for opening an issue. That's reasonable and easy to do, I'll add it this week.
@SpyTec support for route id has been added in version 1.0.2
. Can you give it a try and let me know if it fulfil your need ?
I'm closing this, if you have an issue please re-open it.
React Router has an ID tag in both
IndexRouteObject
andNonIndexRouteObject
as you can see here. This provides an easy way of defining routes so allow easierisActive
classes for elements outside React Router. It would be great to have this added as wellhttps://github.com/remix-run/react-router/blob/de5e57b1fc7309617208a6dd2ddcbd68fdca48b4/packages/react-router/lib/context.ts#L22-L40
I'm trying to setup Storybook in our project and that seemed like the easiest way to handle links in the tabs here
https://github.com/packit/dashboard/pull/240