Replacing buggy component with library: important to identify bug in old component before replacing?

Summary: component used to work and now doesn’t, the regression happened 1+ years ago and we’re not sure when, now I’m considering replacing the broken and poorly architected component with a mature library Background: I am working on a web application which interacts with a 3rd party API to import and export data. This is…