-
#3507
b152db29
- Add console warning for reserved react properties found on a wrapped web component in dev mode only.
-
#2988
2d10c26d
- Provide a params object to createComponent to improve developer experience and make it easier to maintain and add future features. -
#3128
491d0e37
- Application of react props on web components matches the behavior of setting props on dom elements.
- #3163
1212ddd0
- Provide the explicit return typeWrappedWebComponent
forcreateComponent
. This exposes an explicit typing for wrapped components rather than relying on inferences from Typescript. A well defined type should provide more resilience for implementations like SSR and others.
- #2800
043d9c80
- Support setting custom accessors by using an 'in' check instead of a for/in loop to check for properties.
-
#3072
94722633
- Avoid nested component props type declarations. Incrementally define what types are needed rather than nesting. -
#3067
f3e3cddf
- Fixed an error that occurs when when compiling TS. The error occurs when createComponent() is not provided an event map causing instance properties to be confused with event handlers. -
#3111
6158482c
- Removed the unexposed and unnecessaryStringValued
type used to correlate property names with event listener names. -
#3132
2fe2053f
- Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
-
#2987
93b30f7d
- [labs/react]useController
is compatible with React strict mode. -
#2960
16a900c7
- Fix'@lit-labs/react/use-controller.js'
not being correctly exported from package.json.
- #1942
c8fe1d4
- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
- #2123
efe88ba5
- Adds React.HTMLAttributes to component props, which enables the built-inonXyz
event handler props.
- #2123
efe88ba5
- Adds React.HTMLAttributes to component props, which enables the built-inonXyz
event handler props.
- #1942
c8fe1d4
- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
Changes below were based on the Keep a Changelog format. All changes above are generated automatically by Changesets.
- Included
development
folder in release #1912.
- Fixed a bug where
host.requestUpdate()
only worked on the first call from withinuseController()
.
- Added
useControler()
hook for creating React hooks from Reactive Controllers (#1532).
- Updated dependencies
- Adds React component wrapper for custom elements. Use by calling
createComponent
(#1420).