Skip to content
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

fix: partial fix for va-image #2535

Merged
merged 1 commit into from
Oct 18, 2022
Merged

fix: partial fix for va-image #2535

merged 1 commit into from
Oct 18, 2022

Conversation

asvae
Copy link
Member

@asvae asvae commented Oct 18, 2022

fix #2488

Moved leftovers from this pr to #2537

@asvae asvae requested review from m0ksem and Azgiliat October 18, 2022 09:59
Copy link
Collaborator

@m0ksem m0ksem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should handle loading state in onMounted hook, because loading state is hydrated from server. Image can not be in loading state anyway until component is mounted.

Something like this make sense for me:

onMounted(() => { loading.value = true })

I haven't run this PR, but issues also can be caused by loadingError.

@asvae asvae merged commit 863d2b4 into epicmaxco:develop Oct 18, 2022
@asvae asvae deleted the fix/image-ssr branch October 18, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VaImage doesn't show image on ssr
2 participants