Urgent.News

What's breaking now, across thousands of outlets.

Tech

One by onestack.dev: The React Framework Nobody Asked For

The creator of One almost didn't post it. Nate Wienert, the guy behind Tamagui, opened his own Show HN with this line: "HN has really soured on frontend/frameworks. And I get it. We've collectively complicated the hell out of things." He shipped it anyway on October 4, 2024. It hit 506 points and pulled 254 comments. And the weird part is what those comments were about. Barely anyone argued about…

One by onestack.dev is a React framework that aims to unify React web and React Native development under a single Vite plugin. The framework addresses the setup tax that developers face when using separate tools for web and mobile, with routing, layouts, and platform-specific components handled in a single, typed system. One generates native bindings for SwiftUI and Jetpack Compose directly from the platform SDKs, eliminating the need for additional wrappers.

Additionally, the framework includes built-in support for various native features such as haptics, storage, notifications, and purchases, all without requiring Expo or any lock-in to the framework.

Despite these promising features, the initial reaction to One on Hacker News was largely apathetic. Users expressed boredom with yet another new framework and concerns about the growing complexity of the frontend ecosystem. Many developers shared their own frustrations with the constant churn in the JavaScript ecosystem, questioning whether there is still enough appetite for new tools when so many existing solutions already exist.

The framework's creators responded to the criticism, admitting that the demo app was minimal due to limited resources. They have since shipped multiple updates and improvements, with the latest version (v1 Release Candidate 1) released over a year after the initial announcement. These updates include a Metro mode for native development, middleware, sitemaps, and faster build times.

Despite these improvements, One still faces challenges, such as the local-first syncing feature that was initially advertised but later walked back by the Zero team behind the framework. Nevertheless, One continues to evolve with ongoing development and an active community of contributors.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Tuesday 13 October →