Skip to content

When to use transformResponse vs creating a selector #4611

Discussion options

You must be logged in to vote

you should use transformResponse when all you need is the transformed data, and you have no need for the original data.

If you still need the original data (for example if you're transforming it multiple ways), then a selector is the correct approach.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robert-westenberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants