Lurker News
Hey HN, I'm Nate, the creator of Tamagui.

One is a React framework that does two things differently in hopes of simplifying how we build websites and apps:
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.
2. We've partnered with Zero (https://zerosync.dev) to make local-first work well. We've been building a solution in One that makes Zero supporting server rendering, without waterfalls, and with seamless server/client handoff.
---
Honestly - I'm a bit hesitant to post One here.
HN has really soured on frontend/frameworks. And I get it. We've collectively complicated the hell out of things.
That'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'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).
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 can make really high quality UX while sharing a lot of code - but it's insanely hard and requires a huge team. My goal with One is to make what is now possible but hard dramatically easier.
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't bloat your bundle or have very limiting constraints.
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 "harder but better" 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.
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.
I'm just building out something that I'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't end up with the scope creep of Meteor. And honestly, it's just really fun to hack on.

Comments (254) 60 threads

Show all comments

Showing thread 7 of 60

cabalamat2 replies#
> Creating websites and apps is simply too complex

And the solution, of course, is a framework on top of a framework on top of JS and the DOM. OK, maybe I'm being too harsh.

mplewis2 replies#
The problem of integrating high-quality modern UI with complex live data is something that is actually complicated! Your choices here are limited:

1. Write lots of code to deal with the complicated problems
2. Use a framework that abstracts around these problems and solves some of them for you
3. Cut features from your app
This framework helps you with approach 2. If you don't want to use it, you are welcome to use approaches 1 or 3.

breakfastduck1 reply#
The problem is most people think their app is super complex and requires some mad thing that's actually complicated when actually its a glorified crud.
nwienert#
The iPhone is 100x more complex and does 10x more than like 10 separate gadgets from the 90s, and yet is also easier to use and more efficient than them all, broadly.

Your CRUD app could be terrible in pure HTML and amazing in Svelte. Or vice versa. But a competent engineer will make a better version with the more modern tech.
Your OS GUI is an abstraction on an abstraction, it's UI kit is on top of that, the browser is on top of that, React on top of that...
People always draw the ideal line exactly at where they learned things / stopped learning things.

cabalamat#
> high-quality modern UI

I do think that some UIs are more complex than they need to be.

aatd861 reply#
Every problem can be solved by adding an extra layer of indirection xD
lioeters1 reply#
Except the problem of too many layers of indirection.
swiftcoder1 reply#
That's not a problem, it's an opportunity!

(for more layers of indirection)

Continue this thread — 1 reply