# Defer loading JavaScript in Themes and Components

**URL:** https://meta.discourse.org/t/defer-loading-javascript-in-themes-and-components/126370
**Category:** Development
**Tags:** dev-news
**Created:** [August 21, 2019, 7:45am UTC](https://meta.discourse.org/t/defer-loading-javascript-in-themes-and-components/126370 "2019-08-21T07:45:07Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 7, 2022, 6:15am UTC](https://meta.discourse.org/t/defer-loading-javascript-in-themes-and-components/126370/5 "2022-04-07T06:15:18Z")

</div>

Note… this has now shipped 🎊

> [@Discourse theme components now support Wasm confetti\_ball](https://meta.discourse.org/t/discourse-theme-components-now-support-wasm/223574):
>
> [WebAssembly](https://webassembly.org/) (Wasm) is a technology that ships in all modern browsers that lets developers ship portable binary programs. This means that developers can use almost any programming language and target the web. In the context of Discourse this opens up the door to shipping a fairly rich set of extensions that were only available to plugin creators in the past. Examples could be: Image watermarking / resizing / cropping Graph generation using graphviz or svgbob Programming sandboxes (eg: a pos…

---

_[View the full topic](https://meta.discourse.org/t/defer-loading-javascript-in-themes-and-components/126370)._
