TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Create-multi-lib – Write UI code once, compile to multiple frameworks

1 pointsby mox111over 1 year ago
Mitosis (<a href="https:&#x2F;&#x2F;github.com&#x2F;BuilderIO&#x2F;mitosis">https:&#x2F;&#x2F;github.com&#x2F;BuilderIO&#x2F;mitosis</a>) is a fantastic project, but is still in its early stages, and in need of some build tooling. It allows you to &quot;write once, run everywhere&quot; in the sense that you can write a UI component and have it compiled to a React component for use in a React project, a Svelte component for use in a Svelte project, and so on. It does not, however, support bundling.<p>create-multi-lib (run like so `npx create-multi-lib &lt;your-lib-name&gt;) is my attempt to contribute a much needed bundling-layer on top of Mitosis.<p>It also comes with E2E testing included, and your resulting packages include type-declarations.

no comments

no comments