Live data from Hacker News

Plain Vanilla Web

plainvanillaweb.com

371–380 of 715 posts

Re: Plain Vanilla Web

#374
This website covers a fair bit of React - in particular, it seems Web Components can be used to create components with both state & props.

One can imagine a cross-compiler so you could write React, but have it compiled to React-free javascript - leaving no React dependency in production.

Would be a lift, but looks superficially possible.

What are the blockers to this?

Re: Plain Vanilla Web

#375
SPAs are generally not worth it nowadays. Why a >20MB .min.js just for few lines of text content?

Yeah I don't need your shitty onclick hijacks. Thanks.

Re: Plain Vanilla Web

#376
I'd recommend vanilla TypeScript instead of vanilla JavaScript. The benefits of typing are enormous. You don't even need npm in the critical path either if you use VSCode since it has tsc built in

Re: Plain Vanilla Web

#377

I've transcended the vanilla/framework arguments in favor of "do we even need a website for this?". I've discovered that when you start getting really cynical about the actual need for a web application - especially in B2B SaaS - you may become surprised at how far you can take the business without touching a browser. A vast majority of the hours I've spent building web sites & applications has been devoted to admini…

I moved to south east Asia and the phenomenon of a "hotline" openend my eyes. Every business is basically a phone number that you can message. It does not matter if you buy a pizza or furniture, book a hotel or need someone to clean your sofa. No website. No need to fill in forms. No platform fee.

In south east asia, people dont' have very good phone or even smart phone in that matter, txt msg makes sense. The same to many african countries where dumb phones are still dominant.

Re: Plain Vanilla Web

#378

I work for about 2k users, they do not give a shit about reactivity... build a monolith, make it comfy, embrace page refresh (nobody gives a fuck about that in the real world), and get shit done.

Still the case in most Asian countries where UIs are all Craigslist alike and UX is just shit. People just got use to it. Apparently westerns willing to pay a premium for better UX. It's a culture gap.

Re: Plain Vanilla Web

#379

Very cool overview and a great article—it’s fascinating to see how far web components have come. Data passing, interactivity, and state management still seem pretty tedious in vanilla, though!

Microsoft solved this with VIEWSTATE in ASP.NET it's perfect, then industry went with everything Ajax and other over engineered frameworks.

Re: Plain Vanilla Web

#380

Earlier quoted context omitted.

I moved to south east Asia and the phenomenon of a "hotline" openend my eyes. Every business is basically a phone number that you can message. It does not matter if you buy a pizza or furniture, book a hotel or need someone to clean your sofa. No website. No need to fill in forms. No platform fee.

In south east asia, people dont' have very good phone or even smart phone in that matter, txt msg makes sense. The same to many african countries where dumb phones are still dominant.

I cannot speak for Africa, but this is not true of South East Asia.

Whilst cheap 'dumb' phones do still exist and are used, even low income earners in South East Asia tend to have a smart phone, and most of the business done as landgenoot says is conducted via Telegram, Facebook, or occasionally WhatsApp or Line.

There are also ways of paying using nothing but a phone number, but usually business is done on a smart phone where photos of products are are shared, delivery is arranged, and since COVID, most payments are done via QR codes that require a smart phone.

In my experience this is not only true of the cities, but also even out in the provinces.

Post reply on HN