Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix style undefined with hmr#1040

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
vallemar wants to merge3 commits intonativescript-vue:mainfromvallemar:fix-hmr-style
Closed

fix style undefined with hmr#1040

vallemar wants to merge3 commits intonativescript-vue:mainfromvallemar:fix-hmr-style

Conversation

vallemar
Copy link
Contributor

@vallemarvallemar commentedApr 15, 2023
edited
Loading

I don't know why but this is breaking the hmr in my app, the_sov.get(property) returnsundefined and when set toel.style[property] = originalValue; it breaks the app

Close:#1039

@vallemarvallemar marked this pull request as draftApril 15, 2023 19:10
@vallemarvallemar marked this pull request as ready for reviewApril 15, 2023 21:18
@vallemar
Copy link
ContributorAuthor

vallemar commentedApr 15, 2023
edited
Loading

I have found the root cause of the problem, the problem was that undefined was being saved when adding the style initially becauseel.style[property] was inserted and this has no value because it was inserted below. The value that will be added later toel.style[property] is now stored and in the hmr process the undefined value will not be found and it will not fail

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Vue3 inline style HMR error
2 participants
@vallemar@rigor789

[8]ページ先頭

©2009-2025 Movatter.jp