-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support "Local Deploy" in the VSCode Deployment Pane #14234
Conversation
a50bb9b
to
b08a37a
Compare
Test this change out locally with the following install scripts (Action run 9452446344) VSCode
Azure CLI
|
33296a1
to
d75d073
Compare
d75d073
to
f93946f
Compare
f93946f
to
833c1ec
Compare
); | ||
} | ||
|
||
export function getLocalDeployOutputs(result: LocalDeployResponse) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth changing these functions into components as a best practice to avoid unnecessary rendering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed a change - is that what you were thinking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So excited to use this one personally :) What is the procedure (as a user) going to be for enabling this? |
} | ||
|
||
|
||
export const LocalDeployOutputs: FC<{ result: LocalDeployResponse }> = ({ result }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using FC was not recommended because it implicitly includes the children
prop type, but it seems React 18 fixed the problem, so we should be fine: https://www.totaltypescript.com/you-can-stop-hating-react-fc.
Screen.Recording.2024-01-08.at.11.40.02.AM.mov
Microsoft Reviewers: Open in CodeFlow