Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[labs/react] Do not override attribtues with event listeners (#3067)
* faster types, clearer types * faster build that builds * faster builds actually builds * reduce type complexity, remove events * more atomic typing, default event object * remove unnecessary type * move static non-generated types to top of doc * add changeset * remove extra react import * use Events as base type * put types back * reduce to smallest change * add test to catch unmapped event errors * better changeset message * more straightforward names * mention compiling TS in changeset * comment to explain test
- Loading branch information
1 parent
7d185b4
commit f3e3cdd
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@lit-labs/react': patch | ||
--- | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters