Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[labs/react] better union / intersection of ReactComponent Props and …
…Web Component attributes (#3072) * flatter faster types for UserProps * ignore events on react props * add changeset * better name for stripped element * remove duplicate types * union types in order introduced * update changeset to patch, no breaking changes * remove TODO, this PR resolves that TODO
- Loading branch information
1 parent
6158482
commit 9472263
Showing
2 changed files
with
9 additions
and
8 deletions.
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 | ||
--- | ||
|
||
Avoid nested component props type declarations. Incrementally define what types are needed rather than nesting. |
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