radekdob
radekdob

Reputation: 147

Angular 19 SSR NodeAppEngine

I am trying to implement hydration of tanstack query cache from server to client.

During the server phase, some requests are cached. I want to re-use them in the client after hydration process.

I am using new AngularNodeAppEngine and I struggle with adapting the flow from this docs mostly due to lack of support for using providers in server.ts

I can't make queryClient object singleton for providing it in app.server.config and using it in server.ts.

Is it possible with the current implementation of AngularNodeAppEngine ?

Upvotes: 0

Views: 40

Answers (0)

Related Questions