angular-app icon indicating copy to clipboard operation
angular-app copied to clipboard

TransferState and NgRx

Open giovannidias1 opened this issue 2 years ago • 1 comments

Is TransferState and NgRx the same thing? if I'm using NgRx they don't need TransferState?

giovannidias1 avatar May 09 '22 17:05 giovannidias1

Hi @giovannidias1

TransferSate is used with the SSR to enhance an http call.

NgRx provide reactive state. You can use NgRx with SSR.

You can use NgRx with or without Transferstate.

The example without TransferSate is https://github.com/ganatan/angular-ssr

ganatan avatar May 12 '22 15:05 ganatan