-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: identifiers are not incorrectly scoped to state (#1630)
* add failing test * update tests * fails * fix: only map state variables used in useState * base tests * update tests * account for other state values and functions * update snapshots * changeset * make sure state is actually used * rename * fix angular * snapshots * Update late-papayas-eat.md * Update .changeset/late-papayas-eat.md --------- Co-authored-by: Sami Jaber <[email protected]>
- Loading branch information
1 parent
b1386ef
commit e9cfef0
Showing
37 changed files
with
3,731 additions
and
157 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,6 @@ | ||
--- | ||
'@builder.io/mitosis': patch | ||
--- | ||
|
||
[All] Fix: scope renaming of state methods to not include shadow variables | ||
[Angular]: Update `state.*` -> `this.*` transform to new AST transform approach |
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
Oops, something went wrong.