Значит, что-то вроде этого будет устаревшим?
@service site; ... const mobileView = this.site.mobileView;