mitosis
mitosis copied to clipboard
Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
Minimal reproducible example: https://mitosis.builder.io/?outputTab=G4VwpkA%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACAVqgB4C0ANsPgPQDG06VAbgBQQ9I0iw4AE3QkcyVvBLIAdtxjAIKuABV0qGAGEKkFehUwAFAEpEQuHF4qDcA3gIBeFBmzvLCQlsHOBEHKHQYZChtS3tghwAeKWAANwA%2BOPiHADIAYgBGAAZigFZM4ITOZPS462FCISA ``` Could not prettify Object { string: "\n \n ✕\n \n\n\n \n\n\n\n\n export default {\n \n \n\n \n \n\n \n \n }\n" } SyntaxError: Unexpected character...
### Currently The Angular output includes a file `global.d.ts`, containing JavaScript output from a bundling process, starting with: ``` var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc =...
### Currently Angular output looks like this: ``` export default class MyComponent { list = ["hello", "world"]; newItemName = "New item"; } ``` Note the "export default". Although this **can**...
## Description Add a short description of: - what changes you made, - why you made them, and - any other context that you think might be helpful for someone...
### Currently The current two cases in the E2E matrix have the same Playwright test, intentionally. ### Goal Have a separate Playwright test for each case - this will be...
### Currently E2E covers just two cases * single-component-with-state * two components, one using the other ### Goal Add more cases, to gradually cover all Mitosis features. Thus the E2E...
### I am interested in helping provide a fix! Yes ### Which generators are impacted? - [ ] All - [X] Angular - [ ] HTML - [ ] Qwik...
I wasn't sure if I should open an issue about this but I saw that you are using Solid' `createMutable` which is not recommended and is intended mostly for easier...
### Currently Mitosis emits Angular components, but a consumer needs to know the exact set of components that will be emitted, and to hardcode a module to declare them. ###...
## Currently The E2E processing is not very parallel. Only the Playwright operation is parallel, and only for one target at a time. ## Desired E2E finishes fast, by running...