mitosis
mitosis copied to clipboard
Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
sanitize innerHTML using https://github.com/apostrophecms/sanitize-html or something else current workaround. import `sanitize-html` and invoke it on every innerHTML ```jsx import sanitizeHtml from 'sanitize-html'; ```
we to separate the binding updates and registering for listeners https://github.com/BuilderIO/mitosis/issues/285
create a Slots API for webcomponent that doesn't need ShadowDom slots are just elements created at one place that is moved to another. If a webcomponent is using slots without...
Greetings. Does anyone know of a good way to go from "framework" code back to mitosis 😁
**Describe the bug** Actually, it's not a bug. However, I want to be able to build my UI with my phone while I'm in bed. Because inspiration is better when...
**Describe the bug** [The update() logic](https://mitosis.builder.io/?outputTab=webcomponents) remove and add the very same listener for no gain/reason whatsoever. **To Reproduce** Steps to reproduce the behavior: 1. visit [this demo page](https://mitosis.builder.io/?outputTab=webcomponents) 2....
**Describe the bug** [The outcome](https://mitosis.builder.io/?outputTab=webcomponents) produces a `builder-component` which wouldn't exist in the React counterpart, meaning that each component will result in DOM bloat for no reason, nor benefits. **To...
```typescript export const createMitosisComponent = ( options?: Partial, ): MitosisComponent => ({ '@type': '@builder.io/mitosis/component', imports: [], inputs: [], meta: {}, state: {}, children: [], hooks: {}, context: { get: {},...
**Describe the bug** Infinite loop when trying to use getter methods in `useState` and exporting to HTML **To Reproduce** ``` import { useState } from '@builder.io/mitosis'; import { kebabCase }...
Today, we only compile one file at a time. What would be most useful for most peoples setups, though, would be to compile a _project_, for instance ```bash package.json src/...