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

getSSRProps does not work when using template #5304

Closed
Demivan opened this issue Jan 21, 2022 · 0 comments
Closed

getSSRProps does not work when using template #5304

Demivan opened this issue Jan 21, 2022 · 0 comments
Labels
p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. feat: ssr 🐞 bug Something isn't working

Comments

@Demivan
Copy link

Demivan commented Jan 21, 2022

Version

3.2.28

Reproduction link

github.com/Demivan/ssr-issue

Steps to reproduce

  1. Checkout
  2. pnpm i
  3. pnpm test

Check the failing test

What is expected?

When getSSRProps is implemented on a directive it should be used by server-renderer.

What is actually happening?

getSSRProps is not executed and attributes not are added.


This works when using render function.

@yyx990803 yyx990803 added p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working feat: ssr labels Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. feat: ssr 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants