I’ve recently started writing some bindings for a project. Specifically, I’m targeting the popular TanStack Query. Since it’s quite popular, there are already some existing bindings on GitHub.
I’m often conflicted about this. Reusing something out there can feel like a gamble. If something doesn’t work, you might end up copying or forking the project. Sending a PR could end up unnoticed, which makes it tempting to just write your own bindings. The advantage is that you only write bindings for what you use, and there’s a level of muscle memory from having written them yourself.
However, this mindset doesn’t typically lead to high-quality community bindings. I’m curious about everyone’s opinions on this. Do you prefer reusing bindings or do you usually create them yourself?