Hacker News new | ask | show | jobs
by inetknght 437 days ago
> My main gripe with this is how do you charge users? They can just put the browser in offline mode and continue to use the app forever.

Charge users to buy the product. Don't charge users to use the product. I know it's a revolutionary way to think.

> Also it's very hard to follow up bugs or other errors if users are often offline.

Yes, so?

> I giess you can queue up errors being sent and so on but still.

Have you asked the user if they want those errors, which often contain private information, to be sent?

> Syncing means that you probably have to have a complicated logic, especially if the data you are seeing can be modified by others. How do you solve merge conflicts?

There's tens, if not hundreds, of solutions to sync. Why don't you take a look at one of the existing solutions?

> I really like offline first web apps

Really? It sounded like you wanted to charge users and didn't like the idea of users going offline. Kind've hypocritical to then say you like offline-first.

> more expensive to build I think.

Not at all. You should be building and deploying in containers. Containers can and should be 100% local first. You download the dependencies (`FROM` statements) and then disconnect from wifi. If you can't build after that then you're doing it wrong.

> For a startup it means more time before you can deploy your app

Not if you're doing it right.

> where I live there is pretty much fast internet everywhere

I'm happy for you! Unfortunately you seem to be the type of person who wants to reduce cost. That means remote workers. Remote workers often live where their internet is very sub-par and/or metered. Local-first (and especially offline-first) will help reduce cost even more.

> it kinda is solving an issue that very few customers will face

I assume you're in the USA. You shouldn't take the FCC's connectivity reports at face value especially after certain people have gutted the FCC's ability to provide reliable connectivity data. You also shouldn't assume that every customer around you has access to fast internet because, unfortunately, last-mile internet service providers have a tendency of monopolistically abusing their customers.

If you're not in the USA... well I'd still be willing to bet that you're wrong unless your customers are exclusively in an urban environment.