{"by":"nwienert","descendants":254,"id":41742278,"kids":[41747222,41745966,41743668,41744066,41748140,41742743,41745771,41745360,41745955,41743372,41743007,41745656,41743157,41748601,41743347,41750454,41743405,41748496,41744207,41746954,41743510,41743287,41745200,41776647,41747305,41746100,41746341,41744591,41755746,41755730,41746855,41775366,41743177,41744033,41745881,41745081,41743635,41743508,41745667,41742956,41753134,41745829,41750387,41750507,41745411,41744573,41751288,41744418,41745537,41744661,41742773,41744806,41747322,41745725,41749839,41743025,41743039,41745586,41743252,41745224],"score":506,"text":"Hey HN, I&#x27;m Nate, the creator of Tamagui.<p>One is a React framework that does two things differently in hopes of simplifying how we build websites and apps:<p>1. It unifies React Native and React web with typed file system routing by making Vite able to serve RN. This lets you share (or diverge) your code in a simpler way for cross-platform apps.<p>2. We&#x27;ve partnered with Zero (<a href=\"https:&#x2F;&#x2F;zerosync.dev\" rel=\"nofollow\">https:&#x2F;&#x2F;zerosync.dev</a>) to make local-first work well. We&#x27;ve been building a solution in One that makes Zero supporting server rendering, without waterfalls, and with seamless server&#x2F;client handoff.<p>---<p>Honestly - I&#x27;m a bit hesitant to post One here.<p>HN has really soured on frontend&#x2F;frameworks. And I get it. We&#x27;ve collectively complicated the hell out of things.<p>That&#x27;s why I decided to build One. I loved Rails, it made me as a young developer able to finally realize way more ambitious projects than I&#x27;d ever done before. I also liked the promise (not implementation) of Meteor - it felt like the clear future, I guess just a bit too early (and a bit too scope-creeped).<p>I worked at Uniswap and built Tamagui and so spent a lot of time building cross-platform apps that share code. Uniswap is built on Tamagui and I think proves you <i>can</i> make really high quality UX while sharing a lot of code - but it&#x27;s insanely hard and requires a huge team. My goal with One is to make what is now possible but hard dramatically easier.<p>And I think the path to there goes through local-first, because it makes building super responsive apps much, much simpler, and Zero is the first library to actually pull it off in a way that doesn&#x27;t bloat your bundle or have very limiting constraints.<p>I happened to live down the street from Aaron, one of the founders of Zero, in our tiny town in Hawaii. We talked a lot about Zero over the last couple years, and I found it really admirable how he consistently chose the &quot;harder but better&quot; path in building it. It really shaped into something incredible, and that convinced me to actually launch One, which at the time was more of an experiment.<p>I can see a lot of potential criticism - do we need yet another framework, this is too shiny and vaporware-y, this is just more complexity and abstraction, etc. Happy to respond to those comments if they come.<p>I&#x27;m just building out something that I&#x27;ve been wanting for a long time. Opinionated enough to let me move fast like Rails, but leaning on the great work of team Zero so that we don&#x27;t end up with the scope creep of Meteor. And honestly, it&#x27;s just really fun to hack on.","time":1728054924,"title":"Show HN: One – A new React framework unifying web, native and local-first","type":"story","url":"https://onestack.dev"}