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(web-components): styles and cache issue #3916

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

m0ksem
Copy link
Contributor

@m0ksem m0ksem commented Sep 27, 2023

There was a regression after updating vue compiler, components: {} changed to resolveComponent, so we need a different mechanism for nested styles. Also, there was issue with unregistered cache plugin, we just mock it with empty object in web components, cuz we're not able to register any vue plugin here to store cache globally. Maybe we can move cache to window, but I don't care about it for now.

@m0ksem m0ksem self-assigned this Sep 27, 2023
@m0ksem m0ksem requested a review from asvae September 27, 2023 15:54
Copy link
Member

@asvae asvae left a comment

Choose a reason for hiding this comment

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

This PR I frankly don't understand a single bit 😓. And given it's not a biggest prio for us, probably it's good enough as long as it works for you.

I only strongly want to have an ability to know if this works. So I suggest to create an issue to cover that.

@m0ksem
Copy link
Contributor Author

m0ksem commented Sep 27, 2023

This PR I frankly don't understand a single bit 😓. And given it's not a biggest prio for us, probably it's good enough as long as it works for you.

I only strongly want to have an ability to know if this works. So I suggest to create an issue to cover that.

You can run sandbox to see before and later.

@m0ksem
Copy link
Contributor Author

m0ksem commented Sep 28, 2023

Merging it because of #3915 (reply in thread)

@m0ksem m0ksem merged commit 12e31e7 into epicmaxco:develop Sep 28, 2023
2 checks passed
@m0ksem m0ksem deleted the fix/web-components branch September 28, 2023 13:59
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.

None yet

2 participants