Is dit de juiste manier om een thema component te maken?

If this is your goal, you can do it with simple CSS:

body.category-ask-a-question .discourse-reactions-picker.frog {
  display: none;
}