mitosis
mitosis copied to clipboard
Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
### I am interested in helping provide a feature! Yes ### Which generators are impacted? - [ ] All - [ ] Angular - [ ] HTML - [ ]...
After some discussion/back and forth in Discord, I thought it might be a better idea to express y concerns/ideas here in a more descriptive way; this is a continuation of...
### I am interested in helping provide a fix! Yes ### Which generators are impacted? - [ ] All - [ ] Angular - [ ] HTML - [ ]...
## Description closes #1313 - add new `nativeAttributes` option to `useMetadata.angular` to skip generating native attributes like [`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled) with the `attr` prefix - in angular all `attr.XXX` attributes are passed...
### I am interested in helping provide a fix! Yes ### Which generators are impacted? - [ ] All - [X] Angular - [ ] HTML - [ ] Preact...
### I am interested in helping provide a fix! No ### Which generators are impacted? - [ ] All - [ ] Angular - [ ] HTML - [ ]...
### I am interested in helping provide a fix! No ### Which generators are impacted? - Svelte - Vue ### Reproduction case https://mitosis.builder.io/?outputTab=IYOw5grgNsBOQ%3D%3D%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFChIsOACo4OVHFQwAnk3QAPUuUoByGqo3aAVqh7HNW%2FZIkBjCADtVK9ZuUBeNya0d7UOh46AAUCBJwcHRK6ABciBGRcI5M0PH6gSz6ADSJhBKEAJR22jLwbCQ4yEzwJMhO9jDcTnAAsmoAwhSQTuhOMCFg5GCohQmRji7wANpOOCDo2SroMABy8%2BgAunDeaFi4%2BCFU2OgAbuhUxRKJgTDIUC0hiZEAPCzApwB8z0kvwE5gZAwH5JRAccFWdCoDhDCAjEKQ6HRDCFfKg0GnHBMZDoTwIOYLNHoyLODoACxwTgA5riECEzn0YGNPJ9lmsNvTzv0OLgoDSYBxMdj0KiQXAeN9iQAJdBMVIAQjgAElkpS4FB6nB%2FnAAEpBRpLABqOKWmAgTGALCW0DgABlgABHRgseU%2FF48d5fRJXQhAA ### Expected Behaviour Any constants define outside...
Fixes https://github.com/BuilderIO/mitosis/issues/1097 This implements "named slots" for Svelte and Vue. Consider this code from the existing "SlotCode": https://github.com/BuilderIO/mitosis/blob/main/packages/core/src/__tests__/data/blocks/slot-jsx.raw.tsx ```jsx import ContentSlotCode from './content-slot-jsx.raw'; type Props = { [key: string]: string...
### I am interested in helping provide a fix! No ### Which generators are impacted? - [ ] All - [ ] Angular - [ ] HTML - [ ]...
We've removed this method from Svelte 5