|
|
|
|
|
by mainframed
819 days ago
|
|
But `a` is included. You don't have to build a `Link` component. If you want to stylize your links in consistently across your page, you can build your own Link. The example does nothing other than renaming `href` to `to` and adding a style. How should the framework know which styles you want to apply to a link? I think the example explains the component-driven design of the library well. |
|
It’s somewhere between pointless and confusing to me, and isn’t illustrative of why one would want to use components, or what a competent even is.