<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Taggor</title>
    <description>The latest articles on DEV Community by Taggor (@taggor).</description>
    <link>https://dev.to/taggor</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4252532%2F0a870e43-cb7b-4b96-aaf0-9e53e0fcd912.png</url>
      <title>DEV Community: Taggor</title>
      <link>https://dev.to/taggor</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/taggor"/>
    <language>en</language>
    <item>
      <title>Can an AI Coding Agent Publish to Production Safely? Let It Ship One Frontend Component Through MCP</title>
      <dc:creator>Taggor</dc:creator>
      <pubDate>Tue, 01 Dec 2026 21:59:39 +0000</pubDate>
      <link>https://dev.to/taggor/can-an-ai-coding-agent-publish-to-production-safely-let-it-ship-one-frontend-component-through-mcp-oem</link>
      <guid>https://dev.to/taggor/can-an-ai-coding-agent-publish-to-production-safely-let-it-ship-one-frontend-component-through-mcp-oem</guid>
      <description>&lt;p&gt;&lt;em&gt;An agent can write a component in minutes. The hard part is the release: where it goes, who approved it, and how you take it back. Here is a setup where the agent works on one component, and you keep the decisions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Ask a coding agent for a signup form and you get a working one. Then the usual release work starts: add it to the project, build the whole application, deploy the whole site, and repeat on every other site that needs the same form. The agent saved you an hour on the code, and the delivery is the same afternoon of chores as before.&lt;/p&gt;

&lt;p&gt;The reason is the unit of release. In the common setup it is the application: components go into a build, and the build is what gets deployed. A change to one component is a new release of everything around it. If every site is built from one codebase by one team, that is fine, and a monorepo is the right answer. If the sites run on different stacks, or you cannot rebuild them, the unit of release has to be smaller.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if the component were the unit of release?
&lt;/h2&gt;

&lt;p&gt;That is the idea behind &lt;a href="https://taggor.dev/component-publishing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-06" rel="noopener noreferrer"&gt;component publishing&lt;/a&gt;: a piece of a website is built as its own isolated, versioned unit and delivered to any site with one snippet. In &lt;a href="https://taggor.dev/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-06" rel="noopener noreferrer"&gt;Taggor&lt;/a&gt;, where we do this, the pieces are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A component is published on its own.&lt;/strong&gt; It has a tag (a name with a hyphen), a typed contract for its props, events and slots, and its own versions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Versions never change.&lt;/strong&gt; A change is a new version. Sites do not point at a version: they follow a channel, Staging or Production, and a channel points at a version.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One snippet per site.&lt;/strong&gt; The site carries one &lt;code&gt;async&lt;/code&gt; script tag and the component's tag. The component renders in its own Shadow DOM, so the page's styles and the component's styles stay apart, and an error boundary contains a component that throws.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Delivery is then a pointer move, not a rebuild. Publishing a new version moves Staging, promoting moves Production, and a rollback points the channel at the previous version. Nothing is rebuilt along the way. That is a good shape for an agent: the thing it works on is small, and a mistake stays contained and reversible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What can the agent do, and what stays with you?
&lt;/h2&gt;

&lt;p&gt;Taggor runs a remote &lt;a href="https://taggor.dev/docs/mcp-quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-06" rel="noopener noreferrer"&gt;MCP&lt;/a&gt; server (&lt;code&gt;https://mcp.taggor.dev/mcp&lt;/code&gt;). Any MCP client can use it to create components, publish versions and manage sites in a workspace, within the permissions you approve.&lt;/p&gt;

&lt;p&gt;The permissions are the part worth reading before you connect anything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The first time a client uses Taggor, it gets a link instead of data. You open it in the browser where you are signed in and choose what to allow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read only&lt;/strong&gt; is selected to start. The client can look at your sites, components, data and usage, and change nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read and publish&lt;/strong&gt; also lets it create and publish components, promote versions and change sites. With an owner or admin role, it can delete collected data and invite people too.&lt;/li&gt;
&lt;li&gt;You choose the workspace, and the client acts only in that one. It never gets more than your own role allows.&lt;/li&gt;
&lt;li&gt;You can revoke access in the portal, and access stops at once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some things have no agent tool at all. Creating API keys and tokens, payment, accepting terms and legal documents, and creating or deleting a workspace belong to a person, in the portal. If the agent needs one of them, it says so and stops.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does it look like in practice?
&lt;/h2&gt;

&lt;p&gt;The example is a signup form. These are the steps, in the order they happen:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Connect.&lt;/strong&gt; Add &lt;code&gt;https://mcp.taggor.dev/mcp&lt;/code&gt; as a remote MCP server (some clients call it a custom connector), sign in and ask the client to list your components. Open the link it gives you and approve Read only for a first look.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask for the component.&lt;/strong&gt; For example: "Create a signup-inline component with an email field and a button, and store each signup in a subscribers collection." With Read and publish approved, the agent writes it against the SDK contract and publishes it as a version. The docs have quickstarts for Claude Code, Codex and Cursor for the same flow from the command line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look before anyone else does.&lt;/strong&gt; Ask for a preview. Taggor makes a private link to the version you pick. It opens the component on a test page with a light and a dark background, plus panels for props, CSS variables and live events. The link works for 7 days, and anyone who has it can open it, so share it on purpose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Publish moves Staging.&lt;/strong&gt; Your test site shows the new version while Production stays where it was.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You promote.&lt;/strong&gt; Promoting moves Production, and every site on that channel follows shortly after.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Take it back if needed.&lt;/strong&gt; A rollback points the channel at the previous version. Because a repeated "go back one" can go back twice, &lt;code&gt;promote&lt;/code&gt; and &lt;code&gt;rollback&lt;/code&gt; also take &lt;code&gt;--version&lt;/code&gt;: name the target, and running the same command again changes nothing.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr4t4c4dy6oul9dxjr2h8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr4t4c4dy6oul9dxjr2h8.png" alt="An example flow in six steps, labelled as example. 1 connect: the MCP address https://mcp.taggor.dev/mcp and the two choices, Read only (selected) and Read and publish. 2 ask: a request to change the signup-inline button and publish a new version, and the reply that 1.0.1 was published and Staging points to it. 3 preview: the component on a light and a dark background, with tabs for props, CSS variables and live events, and a private link for 7 days. 4 publish moves Staging from 1.0.0 to 1.0.1 while Production stays on 1.0.0. 5 you promote: the taggor promote command and its output, Production from 1.0.0 to 1.0.1. 6 take it back: taggor rollback with --version 1.0.0, and the same command again answering that Production already points to 1.0.0 and nothing changed." width="800" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Steps 4 to 6 work the same from the CLI, the portal or the API. The agent is one more way to drive the same workflow, not a separate one. Every version's source is stored too, so &lt;code&gt;npx taggor pull&lt;/code&gt; brings the component's source folder back on any computer, and you are not locked into the chat where it was written.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we think the split is right
&lt;/h2&gt;

&lt;p&gt;An agent is quick and does not get tired, but it does not know that a Friday evening is a bad time to ship to production. Splitting the work so that the agent writes and publishes a version while a person decides what reaches Production puts each where it does its best work. The permissions, the channels and the rollback are what make that split safe enough to use.&lt;/p&gt;

&lt;p&gt;If you want to try it, start with the &lt;a href="https://taggor.dev/docs/mcp-quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-06" rel="noopener noreferrer"&gt;MCP setup&lt;/a&gt; or the &lt;a href="https://taggor.dev/docs/quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-06" rel="noopener noreferrer"&gt;CLI quickstart&lt;/a&gt;. Both start from an empty folder and a free account; the Free plan is never billed.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>We love frontend, and we think you will like what we built</title>
      <dc:creator>Taggor</dc:creator>
      <pubDate>Mon, 30 Nov 2026 16:06:08 +0000</pubDate>
      <link>https://dev.to/taggor/we-love-frontend-and-we-think-you-will-like-what-we-built-1ic4</link>
      <guid>https://dev.to/taggor/we-love-frontend-and-we-think-you-will-like-what-we-built-1ic4</guid>
      <description>&lt;p&gt;&lt;em&gt;Taggor publishes each piece of a website on its own. This is where the idea came from, what it does today, and what it is not for.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;We are &lt;a href="http://haftware.com.br/" rel="noopener noreferrer"&gt;Haftware&lt;/a&gt;. We have worked in software development for more than ten years, for several companies, large ones among them, and we have always loved what we do and tried to do our best at it. &lt;a href="https://taggor.dev/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;Taggor&lt;/a&gt; is our product: you build a piece of a website as a component, and Taggor builds it, hosts it, versions it and delivers it to any site with one script tag.&lt;/p&gt;

&lt;p&gt;Frontend is the part of the work we love most. It is where the one of us who had this idea started programming, and this post is the story of that idea.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the idea came from
&lt;/h2&gt;

&lt;p&gt;The idea dates from the time when micro-frontends were in fashion. We hated them. We thought they were much more complicated to maintain, and that is when we started to think about something that could be simple.&lt;/p&gt;

&lt;p&gt;What we hoped for is this. Integrating different systems should be easy, and so should managing many of them. Publishing an update, or taking one back, should not need a million dependencies. You should see how people use your components without adding another tool. And a simple page that only accepts some data should not need a backend of its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  One piece at a time
&lt;/h2&gt;

&lt;p&gt;In Taggor the unit is one piece of a site: a button, a pricing table, a signup form, a navigation menu. Each piece is a component with its own tag, published on its own. You write it in TypeScript with the Taggor SDK, or your coding agent does; the docs have quickstarts for Claude Code, Codex and Cursor. The component declares a typed contract: the props a page can set, the events it sends to the page, the slots where the page puts its own HTML, and the data it may collect. Styles are CSS, SCSS or Tailwind, scoped to the component, and it can carry its own fonts. A page changes its look only through the parts and CSS variables the component names.&lt;/p&gt;

&lt;p&gt;Our own &lt;a href="https://taggor.dev/components?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;gallery&lt;/a&gt; has controls such as a toggle and a range slider, charts, forms and navigation, all on one design system (a UI kit published piece by piece), and whole widgets such as a pricing table and a cart summary.&lt;/p&gt;

&lt;p&gt;A site receives its pieces through one &lt;code&gt;async&lt;/code&gt; script tag. The tag loads a small loader that fetches only the components that site uses, and you write each component's tag where it should appear. The docs have guides for WordPress, Shopify, Webflow, Wix, Framer, Squarespace, Google Tag Manager and plain HTML, and for using a component inside a React, Next.js, Vue or Angular app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frnudmu8dsc1inro1velp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frnudmu8dsc1inro1velp.png" alt="A web page drawn as five separate pieces: a search field, a headline, a pricing table, a signup form and an accordion, each with its own tag and its own version, delivered by one snippet" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A piece that cannot break the page
&lt;/h2&gt;

&lt;p&gt;Code that arrives from another server has to be a good guest, so isolation is what we care about most. Each component renders in its own Shadow DOM: the page's CSS does not restyle it, and it does not restyle the page. An error boundary contains a component that throws. What you write inside the component's tag is fallback content, which the visitor sees until the component loads, or if it never does. Keyboard and screen-reader behavior inside it is built into our templates.&lt;/p&gt;

&lt;p&gt;The loader is small, with a hard size ceiling checked before every Taggor release. It sets no cookies and uses no browser storage, and if Taggor is unavailable your page normally stays up with only the Taggor components missing. Before a publish, &lt;code&gt;taggor dev&lt;/code&gt; previews a component on a deliberately hostile test page, with aggressive CSS, and &lt;code&gt;taggor check&lt;/code&gt; runs the publish gates for types, size and security. The same gates run again when Taggor builds the component, in an isolated container.&lt;/p&gt;

&lt;h2&gt;
  
  
  Versions, and the way back
&lt;/h2&gt;

&lt;p&gt;Every publish is a new immutable version: we never edit a published version, and a change is a new one. Sites do not point at versions. They follow a channel, Staging or Production, and a channel points at one version. Promoting moves the channel, and the pages that carry the snippet follow without being edited. In the words of our docs, a rollback is to "point the channel back at the previous version. Nothing is rebuilt, because the old version is still stored."&lt;/p&gt;

&lt;p&gt;Each build has a private, temporary preview link. A component can carry different default values on each site, without a new version. Every publish stores the source, so &lt;code&gt;taggor pull&lt;/code&gt; recreates the project on any computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Metrics and forms, included
&lt;/h2&gt;

&lt;p&gt;Metrics are built in. Taggor counts loader deliveries, impressions, interactions, the custom events a component declares, and form submissions, and it breaks them down by site, component, version, country, device, hostname or event. The counts carry no visitor identifier. Every number also states its source and how far to trust it: a count that comes from browsers is labelled forgeable, because anyone who knows a site key can add to it, and stored submissions are labelled counted.&lt;/p&gt;

&lt;p&gt;Forms need no backend from you. A component declares a collection with typed fields and submits to it with one hook. Taggor validates each submission, checks it for spam and stores it. You read the submissions in the portal and export them as CSV, NDJSON or JSON. The data is yours.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnwjk901xxhdzyvjn8xsw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnwjk901xxhdzyvjn8xsw.png" alt="An example of what comes with a published form: the signup-inline component, example output of the taggor metrics command, and an example list of stored submissions. The values are illustrative." width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Four ways to drive it
&lt;/h2&gt;

&lt;p&gt;Everything goes through one public API, and the other three are clients of it. The &lt;code&gt;taggor&lt;/code&gt; CLI covers the whole path: &lt;code&gt;init&lt;/code&gt;, &lt;code&gt;dev&lt;/code&gt;, &lt;code&gt;check&lt;/code&gt;, &lt;code&gt;publish&lt;/code&gt;, &lt;code&gt;promote&lt;/code&gt;, &lt;code&gt;rollback&lt;/code&gt;, &lt;code&gt;metrics&lt;/code&gt;, &lt;code&gt;data export&lt;/code&gt;. The portal does the same without the command line, for a workspace whose members have roles. A &lt;a href="https://taggor.dev/docs/mcp-quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;remote MCP server&lt;/a&gt; lets any MCP client create components, publish versions and manage sites in your workspace, within the permissions you approve, and you can revoke them in the portal. Credentials, payment and legal acceptance stay with a person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Server-side rendering
&lt;/h2&gt;

&lt;p&gt;For a site whose HTML comes from a server or a build, your server can ask Taggor for the component already rendered and write it into the first HTML. With the &lt;code&gt;@taggor/server&lt;/code&gt; helper that is one call, &lt;code&gt;taggor.render(...)&lt;/code&gt;, and the docs have examples for Next.js, Astro, Express, SvelteKit, Nuxt, Flask and PHP. The visitor sees the component as soon as the HTML arrives, and it becomes interactive in place when the script loads. Whatever goes wrong, the call returns the plain tag.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Taggor is not
&lt;/h2&gt;

&lt;p&gt;If your sites share one codebase, one framework and one team, a package or a monorepo does this inside the tools you already have. A Taggor component is written with the Taggor SDK and renders a Preact view, so existing framework components have to be ported. Server-side rendering is not for hand-edited static HTML or a closed site builder, because there is no server of yours to ask. A site's list of allowed domains stops a copied snippet from working elsewhere; it is not access control. And the automated checks on every publish reduce risk; they are not a security audit or a guarantee.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we think this is good for the web
&lt;/h2&gt;

&lt;p&gt;Code from somewhere else can restyle a page, track the visitor, or take the page down with it. We wanted the opposite kind of guest. We believe a piece that stays in its box, follows nobody across sites and leaves the page working when it fails makes each site it lands on better. We also believe that a way back that is one command makes people less afraid to ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs, and how to try it
&lt;/h2&gt;

&lt;p&gt;Taggor has a Free plan and two paid ones, Pro and Agency. Every plan has every feature; they differ in volume, Free is never billed, and a paid plan can carry a spending limit. The numbers are on the &lt;a href="https://taggor.dev/pricing/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://taggor.dev/docs/quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;CLI quickstart&lt;/a&gt; goes from signing in to a component on a test site of your own, and &lt;a href="https://taggor.dev/component-publishing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-02" rel="noopener noreferrer"&gt;component publishing&lt;/a&gt; explains the idea. We would love to hear what you think, most of all the parts that confused you or that you would have built differently. Tell us in the comments.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>frontend</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
    <item>
      <title>How to Use the Same Component on Multiple Websites (and Update It Once, Everywhere)</title>
      <dc:creator>Taggor</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:51:21 +0000</pubDate>
      <link>https://dev.to/taggor/how-to-use-the-same-component-on-multiple-websites-and-update-it-once-everywhere-52hf</link>
      <guid>https://dev.to/taggor/how-to-use-the-same-component-on-multiple-websites-and-update-it-once-everywhere-52hf</guid>
      <description>&lt;p&gt;&lt;em&gt;Copies drift, npm packages make every site rebuild, and a hosted script can break the page. Component publishing keeps one versioned, isolated copy and delivers it to every site with one snippet.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There are four common ways to use one component on several websites: write a native Web Component, share an npm package (or a monorepo), embed an iframe, or load a hosted script.&lt;/p&gt;

&lt;p&gt;If every site is built from the same codebase, by the same team, on the same framework, use a package or a monorepo. If the component can live in a fixed box, an iframe is enough. If the sites run on different stacks and the component has to be part of the page, you need a hosted script, which is safe only with three things in place: isolation, versions and a way back. A hosted script with all three is called &lt;a href="https://taggor.dev/component-publishing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-01" rel="noopener noreferrer"&gt;component publishing&lt;/a&gt;, and that is what &lt;a href="https://taggor.dev/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-01" rel="noopener noreferrer"&gt;Taggor&lt;/a&gt; does.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the four ways, and where does each one fit?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. A native Web Component, written by hand
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;How it works.&lt;/strong&gt; You write a custom element with the browser's own APIs, put it in a &lt;code&gt;.js&lt;/code&gt; file and load that file on each site.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it fits.&lt;/strong&gt; A small element with no dependencies, on sites where you control the hosting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it hurts.&lt;/strong&gt; A Web Component is a format, not a delivery system. Where the file lives, how a new version reaches each site and how you go back are yours to solve. Copy the file into each project, and the original problem is back.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. A shared npm package or a monorepo
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;How it works.&lt;/strong&gt; The component lives in a package. Each site installs it, imports it and builds it into its own bundle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it fits.&lt;/strong&gt; One framework, one team, sites that have a build step. You get types, tests and code review. In this case it is the right answer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it hurts.&lt;/strong&gt; You publish the package, then every site bumps the version, rebuilds and deploys. Five sites are five deploys, and a site that skips one drifts. A WordPress theme has no &lt;code&gt;npm install&lt;/code&gt; at all.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. An iframe
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;How it works.&lt;/strong&gt; You host the component as a small page of its own, and each site embeds that page with an &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it fits.&lt;/strong&gt; A self-contained widget that can live in a fixed box: a map, a video player, a booking calendar. Styles do not cross the frame in either direction, and one change to the hosted page reaches every site.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it hurts.&lt;/strong&gt; The widget is a separate document. It does not grow with its content unless you write messaging code between the frame and the page, and it does not inherit the page's fonts and colors. An update overwrites the hosted page, with no versions and no way back unless you build them.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. A hosted script (a remote embed)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;How it works.&lt;/strong&gt; The component is served from one address. Each site carries a script tag and the component's tag, and the component renders inside the page itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it fits.&lt;/strong&gt; Sites on different stacks, or sites you cannot rebuild, when the component has to look and behave like part of the page. A single change reaches every site without a deploy on each.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it hurts.&lt;/strong&gt; Reaching every site at once is also the risk, and the section after the diagram explains why. It is also the approach Taggor makes safe.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcdyhmjj7e3oxe0nq3tcv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcdyhmjj7e3oxe0nq3tcv.png" alt="Left: three websites, each with its own copy of the same component, each on a different version. Right: one published component reaching the same three websites through one snippet per site, all on the same version." width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why can a hosted script break the page?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Styles collide.&lt;/strong&gt; The page's CSS reaches into your component, and your component's CSS leaks out into the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One error spreads.&lt;/strong&gt; A script that throws can take other things on the page down with it, and a bad update does that on every site at once.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There is no way back.&lt;/strong&gt; Say you overwrite &lt;code&gt;widget.js&lt;/code&gt;. The old file is gone, and "undo" means fixing forward under pressure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is component publishing?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://taggor.dev/component-publishing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-01" rel="noopener noreferrer"&gt;Component publishing&lt;/a&gt; is building a piece of a website as its own isolated, versioned unit and delivering it to any site with one snippet.&lt;/p&gt;

&lt;p&gt;Here is how Taggor answers the three problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Isolation.&lt;/strong&gt; Each component is mounted in a Shadow DOM inside the page, so styles stay on their own side, and an error boundary wraps it. What you write inside the component's tag is fallback content: the visitor sees it until the component loads, or permanently if it cannot load.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Versions.&lt;/strong&gt; Every publish creates a version, and a version's code is immutable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A way back.&lt;/strong&gt; Sites do not point at a version. They follow a channel, Staging or Production, and a channel points at a version. Going back is moving the pointer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The snippet is one &lt;code&gt;async&lt;/code&gt; script tag per site. It loads a small loader that fetches only the components that site uses. The loader sets no cookies and uses no browser storage.&lt;/p&gt;

&lt;p&gt;Taggor also covers the work around the script:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Checks before anything goes out.&lt;/strong&gt; Every publish passes gates for types, size and security, and a file that looks like a secret stops the upload.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your source is kept.&lt;/strong&gt; Every publish stores the component's source, and &lt;code&gt;npx taggor pull&lt;/code&gt; brings it back on any computer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Forms have somewhere to go.&lt;/strong&gt; A component can declare a collection, and Taggor stores what visitors submit, with anti-spam and export. The data is yours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your agent can write it.&lt;/strong&gt; The docs have quickstarts for Claude Code, Codex and Cursor that publish a first component from one prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What does it look like in practice?
&lt;/h2&gt;

&lt;p&gt;The example is a signup form, &lt;code&gt;signup-inline&lt;/code&gt;. The finished version in the picture comes from Taggor's own showcase: an email field and a button in one pill, storing each signup in a &lt;code&gt;subscribers&lt;/code&gt; collection. The steps below use the starter that &lt;code&gt;init&lt;/code&gt; generates, so you can follow them exactly on a new account and put your own form in later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0bapt527mhkv2wv4vhnu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0bapt527mhkv2wv4vhnu.png" alt="The signup-inline component from the Taggor showcase, an email field with a Subscribe button, beside example terminal output that publishes it, promotes it to production and rolls it back" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sign in, create the project, preview the component and run the checks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx taggor login
npx taggor init --component signup-inline
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;the folder init printed&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
npm install
npx taggor dev
npx taggor check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;init&lt;/code&gt; creates the project in &lt;code&gt;~/.taggor/projects/&amp;lt;workspace&amp;gt;/&lt;/code&gt; and prints the path. The starter is one &lt;code&gt;defineTaggorComponent&lt;/code&gt; call in &lt;code&gt;components/signup-inline/src/index.tsx&lt;/code&gt;, with a single prop, &lt;code&gt;headline&lt;/code&gt;. That file is where your form goes. &lt;code&gt;dev&lt;/code&gt; serves it on a deliberately hostile test page with aggressive CSS, so collisions show up on your machine, not on a client's site. &lt;code&gt;check&lt;/code&gt; runs the publication gates.&lt;/p&gt;

&lt;p&gt;Create a test site and publish to it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx taggor sites create --name &lt;span class="s2"&gt;"Test site"&lt;/span&gt; --domain &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;test-hostname&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; --environment staging
npx taggor publish --site &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;site key&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;sites create&lt;/code&gt; prints the site key and the snippet, and &lt;code&gt;npx taggor sites snippet &amp;lt;site key&amp;gt;&lt;/code&gt; prints the snippet again whenever you need it. &lt;code&gt;publish&lt;/code&gt; builds the component remotely, creates version 1.0.0, moves the Staging channel to it and attaches the component to the site. Paste the snippet once into the page, then write the component's tag where the form should appear:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script&lt;/span&gt; &lt;span class="na"&gt;async&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://cdn.taggorcdn.com/s/&amp;lt;site-key&amp;gt;.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;signup-inline&lt;/span&gt; &lt;span class="na"&gt;headline&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Join the list"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"mailto:hello@example.com"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Write to us to join the list&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/signup-inline&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The link inside the component's tag is the fallback: with the CDN blocked, it is what stays on the page. The showcase form takes &lt;code&gt;label&lt;/code&gt; in place of &lt;code&gt;headline&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A client's live site is a Production site. Create it, attach the component, and paste that site's own snippet and the same component tag into its page. Then move Production to the version you just checked:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx taggor sites create --name &lt;span class="s2"&gt;"Client A"&lt;/span&gt; --domain &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;client-a-hostname&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; --environment production
npx taggor attach signup-inline --site &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;site key&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
npx taggor promote signup-inline --to production
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every further client is the first two commands again: per the docs, all Production sites show the version the Production channel points to. How many sites a workspace can have depends on its plan. On Free, &lt;code&gt;sites create&lt;/code&gt; is refused above the plan's site limit; the pricing page has the numbers. The docs have platform guides for WordPress, Shopify, Webflow, Wix, Framer, Squarespace and more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Update once, change everywhere
&lt;/h3&gt;

&lt;p&gt;Now change the component and publish again:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx taggor publish
npx taggor promote signup-inline --to production
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;publish&lt;/code&gt; creates a new version (1.0.1 in our run) and moves the Staging channel, so the test site shows it first while Production stays on 1.0.0. &lt;code&gt;promote&lt;/code&gt; moves the Production channel, and every Production site follows. No page was edited and no site was rebuilt. The CLI says sites pick up the change within about 60 seconds; the docs allow up to about two minutes, because the loader is cached for a short time.&lt;/p&gt;

&lt;p&gt;If the new version is wrong:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx taggor rollback signup-inline --channel production
npx taggor versions signup-inline
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;rollback&lt;/code&gt; points the Production channel back to 1.0.0, on every Production site at once. &lt;code&gt;versions&lt;/code&gt; lists each version and the channels that point to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  When should you not use this?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One codebase, one framework, one team.&lt;/strong&gt; A package or a monorepo does the job inside the tools you already have.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A fixed box is enough.&lt;/strong&gt; For a widget that does not have to blend into the page, an iframe is simpler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need a different version on each Production site.&lt;/strong&gt; In Taggor, two Production sites show the same version of a component. To show different versions, publish the component under another name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want to keep your existing framework components as they are.&lt;/strong&gt; A Taggor component is written with the Taggor SDK and renders a Preact view, so existing ones have to be ported.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;Copies drift, a package costs one deploy per site, and an iframe keeps the component in a box. A hosted script changes every site at once, so it needs isolation, versions and a way back.&lt;/p&gt;

&lt;p&gt;Taggor gives you those three, plus the checks, the hosting and the form data, behind one snippet per site. If your sites are on different stacks, Taggor takes about ten minutes to try: the &lt;a href="https://taggor.dev/docs/quickstart/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-01" rel="noopener noreferrer"&gt;CLI quickstart&lt;/a&gt; goes from signing in to a component on a page of your own. Start at &lt;a href="https://taggor.dev/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=post-01" rel="noopener noreferrer"&gt;taggor.dev&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>webcomponents</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
