---
package: "@webjsdev/server"
version: 0.8.4
date: 2026-06-01T18:00:00+05:30
commit_count: 1
---
## Fixes

- **elision ships a display-only component that other code observes** ([#171](https://github.com/webjsdev/webjs/pull/171)) [`f700ddd`](https://github.com/webjsdev/webjs/commit/f700ddd)
  Display-only elision drops a component's `customElements.define` when its
  own render is inert, but missed that OTHER client code can observe the
  tag's registration. A shipping `customElements.whenDefined('the-tag')`, a
  CSS `the-tag:defined` rule, or an `instanceof TheClass` check now forces the
  observed component to ship, so the observation no longer silently fails
  (`whenDefined` never resolving, `:defined` never matching, `instanceof`
  always false). The `instanceof` form maps the class name back to a tag via
  the component class name. Verdict-safe: it only ever ships more. Dynamic tag
  strings and external stylesheets stay an author-facing caveat.
