# 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:** 25

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [January 5, 2026, 10:47am UTC](https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063/25 "2026-01-05T10:47:29Z")

</div>

I’m not sure about a generic API for this. There are just too many ways to use components, and they all have different expectations around arguments & load timing.

For your use-case, would a theme/plugin-specific registry work? Like the mockup above [for right-sidebar-blocks](https://meta.discourse.org/t/when-to-switch-themes-plugins-to-gjs/370063/20)?

If not, providing some concrete examples might help us to work out exactly what kind of API is needed. All CDCK-maintained themes & plugins have been migrated to gjs, and this isn’t a problem we’ve run into (except for the specific cases like right-sidebar-blocks).

---

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