When I pass component="button" to Link, it is not routing to the url mentioned in the href attribute nor I see any error log in console.
Should take user to the url mentioned in the href attribute
I created a live example using CodePen
Steps:
Link component to the apphref attribute | Tech | Version |
| ----------- | ------- |
| Material-UI | v4.11.0 |
| React | 16.12.0 |
| Browser | Chrome |
<button href="" /> isn't valid HTML. What are you trying to achieve?
Most helpful comment
<button href="" />isn't valid HTML. What are you trying to achieve?