Open Knskan3 opened 2 months ago
When using getServerSideProps with addHookData the page loses the usePost info
Context:
getServerSideProps
addHookData
usePost
No response
When you say "the page loses the usePost info" do you mean you are not able to use usePost hook?
By design you should not be able to access the post data directly from props but only from the hooks.
Describe the bug
When using getServerSideProps with addHookData the page loses the usePost info
Steps to Reproduce
Context:
getServerSideProps
(full SSR site)addHookData
with props to manually inject theusePost
result, otherwise, it's removed.Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct