Is enriching the query-return props a good practice?
Hey
,
I'm interested in your opinion. Please check out following code:
Here the return properties are enriched by 2 further properties (hasRightFn and currentUser). Are there any disadvantages here? I think no.
thanks
I'm interested in your opinion. Please check out following code:
Here the return properties are enriched by 2 further properties (hasRightFn and currentUser). Are there any disadvantages here? I think no.
thanks