Remix.run Logo
Waterluvian 13 hours ago

AI offering the solution for a small problem that probably doesn’t deserve yet another dependency suggests to me that there’s a middle ground that we’ve failed to sufficiently cover: how to socialize code snippets that you’re meant to just inline into your project. Stack Overflow is probably the closest we’ve gotten to a generalized solution and it doesn’t exactly feel like a good one.

I came across this once before in the form of a react hooks library that had no dependency to install. It was just a website and when you found the hook you wanted you were meant to paste it into your project.

jcgl 6 hours ago | parent [-]

GitHub gists are probably the best technical option. They come with versioning (I think), and have comment threads.

Waterluvian 4 hours ago | parent [-]

And a decent API as well.

I think what’s missing is some amount of organization to make them more discoverable.