hazelcast / hive

Design system built with A11Y in mind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get rid of <Link> component

utkukaratas opened this issue · comments

commented

in MC we have abstracted on this so much it made things unbearably complex. come to think of it here're some reasons to get rid of it:

  • pretty much any routing library / meta react framework has its own Link component.
  • it provides nothing specially useful.
  • links are rendered in a variety of ways depending on your app so even a common style is not really helpful.

@utkukaratas But in our case we use it at least for a consistent styling. At least in CloudUI we just wrap it into the Link component from NextJS, so the Link from Next provides functionality, and the Link from HIVE provides styling.
If we remove the Link in HVE then we might lose that consistent styling...