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

Directive method getSSRProps has no access to exposed property on the instance #7499

Closed
ThornWalli opened this issue Jan 10, 2023 · 3 comments
Labels
🐞 bug Something isn't working scope: ssr

Comments

@ThornWalli
Copy link

ThornWalli commented Jan 10, 2023

Vue version

v3.2.45

Link to minimal reproduction

https://sfc.vuejs.org/#__SSR__eNqVUk1P4zAQ/SsjX5pKjVOxu5duqFhpOSIh4OhLm0yLIbEt2wmgKP+dsdumIQgkcojm+43fm479M4a3DbIVy11hpfHg0DdmLZSsjbYeOihxJxVevxrtEHrYWV3DjHpmQgk1TiYdYDTKW6sNWv+2govlcgn9/K9QeXYAoNHkDDZA8EMfgRVaOQ+Nwwd0/r+0WHjZIlxCMofLNSRdqG9DcgXRDt8e/f39XYB0yVaqUqr9/JyFOFRXyCu9T2aj4tkCjuVcEuxGFcgn+4e9T2Ms8WLVeDCAj5uENy7O4X5o6il6sre40xZvdKN8gtUAvYBW6RK/XnjU96OF+2DQr5+HHQ7EdpG6nvicUpwcGgchSNZNU1FHHDMVz2Ntqo3HKF9eyhbaNFCxPksWpucZpagmz4YGtmCHu0rrjeFPTiu6vPh0cUw4wQZtBaMzC75gj94bt8qyRpnnPS90nV1RLrNEi6wxLXV99Ytf8N9/CNP5cZyjq9Ot1S8OLSEKdpQqDs8o2KJNLdIlW7Tfgk1qPwBOcp9AT2qw/h0NnyvO

Steps to reproduce

  1. Open the browser dev tools,
  2. Search console entry with label getSSRProps and beforeMount.

What is expected?

The value 2000 should appear in the getSSRProps entry, equal to the console entry beforeMount.

What is actually happening?

Property exposedProperty is not included in binding.instance in ssr.

But it is in the binding.instance of the beforeMount.

System Info

System:
  OS: macOS 13.1
  CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
  Memory: 1.19 GB / 32.00 GB
  Shell: 5.8.1 - /bin/zsh
Binaries:
  Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
  Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
  npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
Browsers:
  Chrome: 108.0.5359.124
  Safari: 16.2

Any additional comments?

nuxt/nuxt#15424

@yangwao
Copy link

yangwao commented Feb 17, 2023

Hey, how is this standing? I've heard nuxt-speedkit would need it and then kodadot/nft-gallery is happy to use it 😁

@Triloworld
Copy link

@LinusBorg can this pull request be checked and incorporated? thx

@yangwao
Copy link

yangwao commented Jun 24, 2023

Hey, how is this standing?

Hey, I'm back to check on this after a few months; any updates? Any way we can help speed up this @LinusBorg ?

@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 2024
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

Successfully merging a pull request may close this issue.

4 participants