common/api/hooks/useFieldsSelector
Overview
Enhanced API selector utility hook for react-query.
Intention
The intention is to simplify making selector hooks to be able to read and update fields of entities. For example, making a wrapper for a requisition.
i.e. const { comment, update } = useRequisitionField("comment")