You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everybody,
we are looking every time over new PRs in the PWA Kit project to see the road of the project, especially TechStack wise.
So we saw the use of ReactQuery for commerce-sdk-react and the new ServerContext to replace getProps in future.
This is a really good decision and for a current running customer project, we refactored our PageDesigner integration and THIRD Party API integrations to use ReactQuery.
But currently the SSR part with Hydration is missing in the PWA-Kit implementation. I see in the PRs you are working on this. Will these features coming with the next release?
Thx.
Best regards René
The text was updated successfully, but these errors were encountered:
Long answer. The release is expected at the end of 242 for server-side support of ReactQuery integration with the PWA-Kit SDK. We have many POC's showing the server rendering working, but we are just working on settling the API that we think is going to be best for this feature. There are many things we have to take into account when adding react-query support to the rendering pipeline. Things like feature parity with getProps, hence the inclusion of a new hook for getting the server context to set statuses of your responses and whatnot. The thing that is taking the most time is the sheer amount to refactoring in the rendering pipeline that we need to do to pull getProps out and make it plugable so that for those upgrading to the next version of the SDK, they can still use the legacy getProps.
Hello everybody,
we are looking every time over new PRs in the PWA Kit project to see the road of the project, especially TechStack wise.
So we saw the use of ReactQuery for commerce-sdk-react and the new ServerContext to replace getProps in future.
This is a really good decision and for a current running customer project, we refactored our PageDesigner integration and THIRD Party API integrations to use ReactQuery.
But currently the SSR part with Hydration is missing in the PWA-Kit implementation. I see in the PRs you are working on this. Will these features coming with the next release?
Thx.
Best regards René
The text was updated successfully, but these errors were encountered: