bete added a comment.

  **conclusion:**
  
  As far as implementation goes, there doesn't seem to be too much technical 
difficulty in going either way. echoing on some of the points @Michael 
mentioned above, I'll list some of the pros and cons.
  I haven't found much info on veutify but on here 
<https://bootstrap-vue.org/docs/components/link#component-reference> and here 
<https://material-ui.com/components/links/> , Links are used as components.
  
  **Pros: of component**
  
  - Consistency: No need to create unnecessary learning curve, i.e. not 
introducing  new way of doing things. we already use styled components so there 
no need to introduce a new way of doing things.
  - easy to publish a component to NPM and ensure that it is not only super 
customizable for the user through props and/or extending via styled(Component) 
but that it always looks & behaves as it did locally due to zero chance of 
clashing selectors.
  - easy to handle edge cases on the behavior of the link. e.g links with 
href="#". on click scroll to top of the page or what ?
  - we already have a story book
  
  **Pros of CSS styles: **
  
  - easier to implement. i.e at least, code size wise
  
  **Cons of using CSS:**
  
  - will be an additional way of implementing things, creating potential 
maintenance issues
  - has no story book. therefore difficult to document

TASK DETAIL
  https://phabricator.wikimedia.org/T273039

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bete
Cc: bete, Michael, Sarai-WMDE, Aklapper, Ladsgroup, Lydia_Pintscher, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to