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

useAttrs does not return shorthand listeners in SSR #5664

Closed
danielroe opened this issue Apr 4, 2022 · 0 comments
Closed

useAttrs does not return shorthand listeners in SSR #5664

danielroe opened this issue Apr 4, 2022 · 0 comments
Labels
🐞 bug Something isn't working scope: ssr

Comments

@danielroe
Copy link
Member

Version

3.2.31

Reproduction link

stackblitz.com

Steps to reproduce

Refresh the page when opening the reproduction.

What is expected?

I expect equal behaviour between client/server.

What is actually happening?

  • ['some-attr'] will be printed on server and ['some-attr', 'onClick'] on client

If you uncomment the alternative syntax in the sandbox (v-bind="{ onClick: handler }") then ['some-attr', 'onClick'] is printed on both client & server

@posva posva added 🐞 bug Something isn't working scope: ssr labels Apr 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: ssr
Projects
None yet
Development

No branches or pull requests

2 participants