I just created a custom Link component
I just created a custom Link component.
What makes it unique? It only accepts *known* URLs.
Benefits:
✅ Concise syntax
✅ URL autocomplete support
✅ Each URL is declared only once
✅ Automatically populates default link text
✅ URLs are handled consistently
#react

This component solved a number of problems:
We had inconsistent URLs.
URLs were repeated in our code (needlessly bloating the bundle, and creating a maintenance burden).
There was no easy way to change how we handle URLs site-wide.
Now, all these problems are solved. 👍