# When to switch themes/plugins to \`.gjs\`?

**URL:** https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063
**Category:** Development
**Created:** [June 13, 2025, 10:15am UTC](https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063 "2025-06-13T10:15:31Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [June 13, 2025, 4:50pm UTC](https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063/13 "2025-06-13T16:50:12Z")

</div>

> [@pfaffman](#):
>
> And if that’s the case; even if it’s just a template, adding the class makes it run faster than if it’s a `.gjs` that has just `<template>My important words</template>`?

In that case I get this eslint recommendation:

> <https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-empty-glimmer-component-classes.md>

Which suggests you should only add the class when you need it as otherwise it would actually be slower.

---

_[View the full topic](https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063)._
