https://github.com/FinchFEC/FEC-Project/blob/07c299af8a2d9f59884ee44fb783e3c84f926504/src/client/components/widgets/related-products/relatedList.jsx#L32-L45
I think there is some crossover between State Components and Functional here. For use with Hooks, as you have here, useCallback might be worth considering.