·
12 commits
to main
since this release
Minor Changes
-
de31a91: [stencil]: Improve props
- Fix issue with props starting with
on
converted to "wrong"@Events
- Stencil addson
automatically to events - Remove
children
prop from@Prop
- Stencil uses<slot>
for children - Add
PropOptions
toToStencilOptions
andStencilMetadata
. You can use it like this:
import { useMetadata } from '@builder.io/mitosis'; useMetadata({ stencil: { propOptions: { className: { attribute: 'classname', mutable: false, reflect: false, }, }, }, }); export default function MyBasicComponent(props: {className:string}) { ... }
- Fix issue with props starting with
Patch Changes
- d5f3eea: JSX Parser: remove standalone null expressions