als antwoord op ctoomey.com

@christoomey Hi Chris! This talk is not that old, but I was curious: are you still using this pattern of exporting GraphQL fragments from React components? Are you still happy with it and would you still recommend this approach? :)
https://www.youtube.com/watch?v=Qsoj4s_Ml6s

Reacties

Chris Toomey
Chris Toomey

I’ve been spending more and more time with typescript of late, and with that I’ve shifted to export a combined object with { Component, fragment } as fields. Connects the together more strongly and hel…