Angular 19 SSR NodeAppEngine

Discussão em 'Angular' iniciado por radekdob, Janeiro 10, 2025.

  1. radekdob

    radekdob Guest

    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 ?

    Continue reading...

Compartilhe esta Página