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

**URL:** <https://meta.discourse.org/t/what-is-the-difference-between-raw-hbs-handlerbar-files-and-only-hbs-handlerbar-files/58565>\
**Category:** Development\
**Created:** [7 במרץ,‏ 2017,‏ 4:41pm UTC](https://meta.discourse.org/t/what-is-the-difference-between-raw-hbs-handlerbar-files-and-only-hbs-handlerbar-files/58565 "2017-03-07T16:41:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)\
**Post date:** [22 בספטמבר,‏ 2021,‏ 1:42pm UTC](https://meta.discourse.org/t/what-is-the-difference-between-raw-hbs-handlerbar-files-and-only-hbs-handlerbar-files/58565/8 "2021-09-22T13:42:32Z")

</div>

That observer is not ideal as we are trying to get away from them as we continue to upgrade Ember. I think a better way is to create a helper and put your JS in there. Here is an example  
[https://github.com/discourse/discourse-category-experts/blob/main/assets/javascripts/discourse/connectors/topic-list-after-title/category-experts-indicator.hbr](https://github.com/discourse/discourse-category-experts/blob/main/assets/javascripts/discourse/connectors/topic-list-after-title/category-experts-indicator.hbr)

> <https://github.com/discourse/discourse-category-experts/blob/9e81dcbca477a68ff0389fa44de18a8e5873e81a/assets/javascripts/discourse/helpers/category-expert-topic-list-indicators.js#L5-L21>

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-difference-between-raw-hbs-handlerbar-files-and-only-hbs-handlerbar-files/58565)._
