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
feat: ssr 🐞 bug Something isn't working

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ssr 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants