“A publicly traded company open-sourced its entire frontend — 246K commits, 2,340 contributors, and they'll pay you $250 to fix bugs.”
Expensify open-sourced the entire React Native frontend for its expense management platform — 246,354 commits, 2,340 contributors, MIT-licensed — but the backend stays closed, so you can read and contribute but not self-host. It implements an offline-first architecture with four distinct UX patterns for handling network failures, powered by a custom persistent state library called Onyx. The repo is one of the largest commercially-backed open-source React Native codebases in production, maintained by a publicly traded company (NYSE: EXFY) that pays external contributors via Upwork for accepted...
You know that feeling when your app breaks the moment you step into a subway tunnel or a dead zone? Most expense apps force you to wait for a connection — your receipt scan hangs, your report won't submit, and you're stuck refreshing. Expensify's frontend tackles this head-on with an explicit classification system: every feature gets assigned one of four offline handling patterns, from silent optimistic updates to full-screen blocking, so the app keeps working even when the network doesn't.
Think of it like writing checks from a checkbook — you write the check immediately (optimistic update) and trust the bank will process it later. When the server pushes data, it flows through Pusher (real-time WebSocket) into Onyx (a custom key-value store that persists everything to disk), then into React components via the useOnyx() hook. When you take an action, it flows back through an Action → XHR → Server loop. Every feature is classified into one of four offline patterns: Pattern A assumes success silently (like sending a chat message), Pattern B shows a loading indicator but proceeds optimistically, Pattern C blocks the form until confirmation, and Pattern D blocks the entire page. A decision flowchart in the repo's philosophy docs determines which pattern applies.
If you're a React Native developer who wants to study how a production-grade offline-first app handles state, networking, and cross-platform complexity — this is your reference codebase. Also valuable if you're building a financial or messaging app and need a proven pattern for offline data sync. Not useful if you want a self-hostable expense solution — the closed-source backend makes that imposs...
Worth studying as a reference architecture if you build React Native apps, especially for the offline-first patterns and Onyx state management. It is production-proven — 15 million+ users, publicly traded company, daily releases. However, you cannot self-host it or use it independently because the backend is proprietary. Treat it as a learning resource and contribution opportunity, not a framework to install.
View original sourceThis page gives you the hook. The full Snaplyze digest goes deeper so you can move from curiosity to decision with less noise.
Open the full digest to read the deeper breakdown, compare viewpoints, and get the practical next-step playbooks.
Read the full digest for deep-dive insight, Easy Mode, Pro Mode, and practical playbooks you can actually use.
Install Snaplyze