Hacker News new | ask | show | jobs
by dbbk 531 days ago
Surely this will be redundant with React Server Components on RN/Expo?
2 comments

Server components + RN + Expo.... Could it get any more pointlessly complicated?
This is a ReactNative app that consumes XML and maps it to ReactNative components, so you're still using those pointlessly complicated technologies, but through a proxy application that abstracts some of the complexity away (https://github.com/instawork/hyperview?tab=readme-ov-file#hy...).

When you hit the boundaries of what Hyperview can do, you're going to need to dig into some of the details, but mayhaps you don't need those features. Either way, it's an interesting project, but like everything else it's going to have _some_ drawbacks

Less time spent building a stack temple to venerate oneself.
Just because there are multiple technologies does not make it complicated per se. Indeed, something could evolve to a simpler model, which it seems RSC on RN is.
Keep dreaming man. Just look at what Next has become... It has taken "render component on the screen" and turned that into an experts domain. It's a nightmare for anyone who isn't the most skilled, for projects that are more than just toy apps and AI one-offs.
Not sure about that, it's gotten easier as time goes on, especially with server actions. Previously we used something like OpenAPI to map types on the frontend and backend and had to make separate HTTP endpoints for everything. Now I just write a function and it's all taken care of automatically, I can put types and functions in any folder I want and it just works.
Doesn’t it require Expo’s servers for a development environment?

All these companies have given up on the gold rush long ago and are just slinging fancy shovels.

No, they can run locally.
Well if you want to remotely update a mobile app UI from your server backend, it seems like the simplest option...
This is more of an HTMX native
Yeah, the moment I read "Serve your app as XML" my brain instinctively began to move on but it's really just HTML-like semantic snippets that remind me of WebComponents. Example:

https://github.com/Instawork/hyperview/blob/master/demo/back...

However, this warning statement should be in bold at the top: "If your app relies on offline data or local computations, Hyperview won't be the right choice."

For that reason, I lean toward https://volt.build/

A key distinction here is that Hyperview is free, which makes the offline capabilities or lack thereof a more than reasonable tradeoff IMO.

Volt looks great, but $15/mo. for the basic plan, $37/mo. for the pro plan that you likely need for the ad hoc builds alone (unless you test in prod).

If it doesn't do offline data or local computations what is the point?