The best practices that we should follow
Apply Reducer everywhere in your applications, for every API endpoint.
Communicate with your API consumers and let them know, so that both consumers & APIs are happy (cuz lighting fast response).
Always avoid getting all the fields (unless there is no other way).
Don't put too much logic inside the callable, create a Getter method instead (maintainable & testable).
Getter
Last updated 2 years ago