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

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 scope: ssr labels Jan 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working scope: ssr
Projects
None yet
Development

No branches or pull requests

2 participants