Subscribe on changes!

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

avatar
Jan 10th 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?

https://github.com/nuxt/nuxt.js/issues/15424

avatar
Feb 17th 2023

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

avatar
Jun 7th 2023

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

avatar
Jun 24th 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 ?