I have multiple repositories for multiple APIs. Each of these apis has a custom fetch function which is duplicated code. There are times where I have to update the code of that fetch to adapt to back changes, and right now I have to make the change on all the different repos. Should I create a new repo that contains this fetch file and import that in all other repos? Would that be the best way to do this?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
R
Reactiflux
The largest chat community for React professionals