headstartwp icon indicating copy to clipboard operation
headstartwp copied to clipboard

When using getServerSideProps with addHookData the page loses the usePost info

Open Knskan3 opened this issue 9 months ago • 1 comments

Describe the bug

When using getServerSideProps with addHookData the page loses the usePost info

Steps to Reproduce

Context:

  • using getServerSideProps (full SSR site)
  • I have to extend the addHookData with props to manually inject theusePost result, otherwise, it's removed.
Screenshot 2024-05-21 at 07 47 05

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Knskan3 avatar May 21 '24 05:05 Knskan3