awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
BuilderIO avatar

BuilderIO/mitosis

0
View on GitHub↗
13,858 星标·636 分支·TypeScript·MIT·10 次浏览mitosis.builder.io↗

Mitosis

Mitosis is a cross-framework compiler that transforms a single JSX-based source into native components for multiple frontend libraries simultaneously. It functions as a multi-target UI library builder, allowing developers to maintain a single source of truth for design systems while generating production-ready code for diverse environments including React, Vue, Angular, and Svelte.

The system operates by parsing unified component code into an intermediate JSON representation, which serves as the foundation for all downstream framework generators. This architecture utilizes a visitor-based transformation process and a plugin-driven serializer model, enabling developers to inject custom logic, normalize lifecycle hooks, and apply target-specific formatting rules to ensure consistent behavior across different platforms.

The compiler supports a broad range of development requirements, including reactive state management, content slotting, and styling strategies. It provides mechanisms for design system synchronization, allowing for the integration of tokens from external design tools, as well as the ability to define framework-specific implementation overrides when unique library dependencies or platform requirements arise.

The tool is managed via a command-line interface that handles build target configuration and JSX transpilation. It is designed to be extensible, allowing users to hook into the compilation pipeline to modify component metadata or extend framework support through custom serializers.

Features

  • Component Compilers - Transforms unified JSX-based source code into native syntax for multiple target frameworks including React, Vue, Angular, and Svelte.
  • Multiplatform UI Libraries - Maintains a single source of truth for design systems while outputting production-ready code for diverse frontend environments.
  • Component Compilers - Transforms a single JSX-based source into native components for multiple frontend frameworks and libraries simultaneously.
  • Cross-Framework Component Generators - Compiles unified JSX-based source code into native components for React, Vue, Angular, and Svelte simultaneously.
  • JSX Compilers - Parses unified component code into an intermediate representation to generate framework-specific syntax for multiple frontend libraries.
  • Intermediate Representations - Parses source code into a language-agnostic tree structure that serves as the single source of truth for all downstream framework generators.
  • Design Token Synchronization - Imports design tokens and structures from external tools to automatically generate consistent, production-ready UI components.
  • Design-to-Code Generators - Imports design assets and tokens from visual tools to automatically create consistent, production-ready component code.
  • Framework Generators - Maps abstract component structures to native framework syntax by applying unique formatting rules and library-specific patterns for each output.
  • Multi-Target Compilers - Executes specific code or returns different values based on the target framework being generated to handle platform-specific requirements.
  • Abstract Syntax Tree Transformers - Traverses the component tree to apply specific logic, refactor syntax, and inject framework-specific patterns during the compilation process.
  • Component Lifecycle Hooks - Maps unified component lifecycle events to the corresponding native methods of each target framework to ensure consistent behavior across platforms.
  • Reactive State Management - Manages component data using hooks that trigger automatic UI updates when values change, supporting both object-based stores and individual state variables.
  • Plugin Architectures - Allows developers to extend the compiler by injecting custom logic that converts the intermediate representation into new target languages or frameworks.
  • Component Adapters - Customizes component logic and styling for specific target frameworks while maintaining a unified codebase for shared business logic.
  • Serializer Extensions - Creates custom serializers that parse component structures into additional languages or framework-specific implementations to expand the range of supported output targets.

Star 历史

builderio/mitosis 的 Star 历史图表builderio/mitosis 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

builderio/mitosis 是做什么的?

Mitosis is a cross-framework compiler that transforms a single JSX-based source into native components for multiple frontend libraries simultaneously. It functions as a multi-target UI library builder, allowing developers to maintain a single source of truth for design systems while generating production-ready code for diverse environments including React, Vue, Angular, and Svelte.

builderio/mitosis 的主要功能有哪些?

builderio/mitosis 的主要功能包括:Component Compilers, Multiplatform UI Libraries, Cross-Framework Component Generators, JSX Compilers, Intermediate Representations, Design Token Synchronization, Design-to-Code Generators, Framework Generators。

builderio/mitosis 有哪些开源替代品?

builderio/mitosis 的开源替代品包括: lit/lit — Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages… vuejs/vue — Vue is a progressive, component-based JavaScript framework designed for building reactive user interfaces and… reactjs/react.dev — React is a JavaScript library for building user interfaces through the composition of modular, self-contained… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… riot/riot — Riot is a component-based library for building user interfaces through modular, single-file components. It functions… webpack/webpack — Webpack is a module bundler that maps project dependencies into a directed acyclic graph to transform diverse file…

Mitosis 的开源替代方案

相似的开源项目,按与 Mitosis 的功能重合度排序。
  • lit/litlit 的头像

    lit/lit

    21,679在 GitHub 上查看↗

    Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages native browser APIs to encapsulate state, logic, and styles, allowing developers to create custom elements that function consistently across any modern web project. The framework distinguishes itself through a reactive property system that automatically triggers efficient, batched DOM updates. By utilizing tagged template literals, it defines declarative UI structures that are compiled into optimized update instructions. Its architecture emphasizes modularity through a reactive con

    TypeScripthtml-templateslitlit-element
    在 GitHub 上查看↗21,679
  • vuejs/vuevuejs 的头像

    vuejs/vue

    209,900在 GitHub 上查看↗

    Vue is a progressive, component-based JavaScript framework designed for building reactive user interfaces and single-page applications. It centers on a declarative template system that transforms HTML into efficient render functions, allowing developers to organize complex interfaces into isolated, reusable units that synchronize automatically with application state. The framework distinguishes itself through a dependency-tracking reactivity system that monitors data access during rendering to trigger precise updates. It provides a flexible architecture that supports both incremental adoption

    TypeScriptframeworkfrontendjavascript
    在 GitHub 上查看↗209,900
  • reactjs/react.devreactjs 的头像

    reactjs/react.dev

    11,765在 GitHub 上查看↗

    React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme

    JavaScriptdocumentationjavascriptreact
    在 GitHub 上查看↗11,765
  • facebook/reactfacebook 的头像

    facebook/react

    245,669在 GitHub 上查看↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    在 GitHub 上查看↗245,669
  • 查看 Mitosis 的所有 30 个替代方案→