Skip to content

W4103: Deprecated component used ​

Cause ​

The template uses a component whose contract says "deprecated". It still works; the warning carries the reason, usually what to use instead.

Example ​

text
// Old.tess
<contract>
{ "name": "Old", "role": "group", "parts": ["root"], "deprecated": "Use Card instead." }
</contract>
<template><div class="root"></div></template>

// app/pages/about.tess
<template><main><Old /></main></template>

What you see ​

text
WARNING  W4103  app/pages/about.tess:1:18
  <Old> is deprecated: Use Card instead.
  Run `tessera explain W4103` for details.

Fix ​

Switch to the component the message names. tessera report lists every remaining use, so a maintainer can see who still depends on it.

All errors and warnings