ux
ux copied to clipboard
[LiveComponent] Support for liveProp union type
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | yes |
| Deprecations? | no |
| Documentation? | no |
| Issues | Fix #853 |
| License | MIT |
This PR adds support for liveProp union types in Live Components. Previously, using a union type would throw an exception. With this change LiveComponentMetadataFactory will be able to create liveProp metadata for union types, but will only work in combination with a custom hydrate and dehydrate implementation.