You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Wecansimply*remove*thediscussionofnamespacedcomponents, infavorofsimplydescribingtheuseofnormalJSimportstoaccomplishthesamegoal. However, herewecanalsonotethatJavaScriptmodulesareagreatwaytoorganizegroupsofrelatedcomponents, andshowhowwemightusenamespace-styleimports (`import * as Rental from '';`andthen`<Rental.Image />`withina`<template>`) forthiskindoforganization.[^namespace-deprecation]
507
+
-Wecansimply*remove*thediscussionofnamespacedcomponents, infavorofsimplydescribingtheuseofnormalJSimportstoaccomplishthesamegoal. However, herewecanalsonotethatJavaScriptmodulesareagreatwaytoorganizegroupsofrelatedcomponents, andshowhowwemightusenamespace-styleimports (`import * as Rental from '';`andthen`<Rental.Image />`withina`<template>`) forthiskindoforganization.[^namespace-deprecation]
3. When refactoring to use a getter for `src`, use the value as `${TOKEN}`. Note explicitly how there is a symmetry between JS and templates: you can use whichever approach is clearer for a given context.
0 commit comments