Replies: 3 comments 4 replies
-
Would at least need another prop to be able to specify the active class. On the other hand, nothing in your proposed changes would break the current way of doing things and just simplify the - probably - most common usecase, so I'm definitely not against it. |
Beta Was this translation helpful? Give feedback.
-
The active class can be passed normally like we used to My suggestions won't change your current user code, it just simplifies the most common use case (I think) |
Beta Was this translation helpful? Give feedback.
-
I agree, the explicit tag is redundant when an
I'm not immediately clear on the benefit of this, can you expand on this? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'd like to suggest a few improvements to the
AppRail
andAppRailTile
componentsI'll start with the "final" code
Here are my suggestions to make this code possible (Currently you need more verbose code to handle state)
value
fromhref
when novalue
is passed (or when tag=a)This code is much simpler then the code shown in the docs
If you like my suggestion, I can submit a PR and then we'll see how it goes
Cheers
Beta Was this translation helpful? Give feedback.
All reactions