ngrx / platform

Reactive State for Angular
https://ngrx.io
Other
7.96k stars 1.95k forks source link

Do 'createSelector' can access to the previous value of the state inside the function ? #4350

Closed iamAravindks closed 1 month ago

iamAravindks commented 1 month ago

Which @ngrx/* package(s) are relevant/related to the feature request?

data, store

Information

I intend to capture the previous state within the createSelector or similar functionality. How can I achieve this? I couldn't find any relevant information. Would anyone be able to help me with this?

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue