finally cracked optimistic updates for the feed. zustand + tanstack query is such a clean combo #buildinpublic
const { mutate } = useMutation({
mutationFn: createPost,
onSuccess: () => invalidate("feed"),
});DevHub is the open-source social platform for developers — a real-time feed for your work, direct messages for your ideas, and a network that speaks your language.
Features
No noise, no engagement bait. Just the tools that make sharing work with other developers worth it.
Posts stream in live with infinite scroll. No refresh button, no black-box algorithm.
Private conversations with presence, typing indicators, and unread counts.
Likes, replies, follows, and mentions arrive the instant they happen.
Follow the developers you rate and shape a feed around their work.
See what the community is talking about right now, tag your posts to join in.
Find developers by handle and posts by keyword — fast, as you type.
Save the posts worth coming back to in your personal reading list.
Share images and code blocks that render the way they deserve to.
Real-time by default
Every conversation on DevHub is live. Messages, notifications, and feed updates are pushed over WebSockets the moment they happen.
Open source
DevHub isn't a black box. The whole platform — frontend and backend — is open source. Clone it, learn from it, self-host it, or make it better.
Create your handle, post what you're building, and meet the developers already talking shop.