Michael added a comment.

  Some initial brainstormy thoughts:
  
  Pro Component
  
  - better abstraction/encapsulation of "internals"
  - same argument as to why a button is a DS component and not just a set of 
styles
  - could maybe apply //some// validation on the URL to prevent mistakes like 
`href="javascript:void(0)"`
  - not providing two ways of doing things: components and classes
  
  Pro CSS class
  
  - less confusing to translators if it appears in a i18n message
  - full control over all the possible behavior
  
  Ideas for further investigation:
  
  - look at what vuetify and other component libraries are doing and try to 
infer their reasoning

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

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

To: Michael
Cc: 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