What is the difference between raw.hbs handlerbar files and only .hbs handlerbar files?

そのオブザーバーは理想的ではありません。Ember のアップグレードを続けるにつれて、オブザーバーの使用を避けようとしているからです。より良い方法は、ヘルパーを作成して JS をそこに記述することです。以下に例を示します。

https://github.com/discourse/discourse-category-experts/blob/main/assets/javascripts/discourse/connectors/topic-list-after-title/category-experts-indicator.hbr