frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Business Case for Vanilla JavaScript

https://lewiscampbell.tech/blog/250430.html
6•LAC-Tech•9mo ago

Comments

copypaper•9mo ago
I would personally never touch a frontend not written with a framework. Sounds like a terrible developer experience--especially with a team. But from reading your article, it sounds like your issue is with React itself. I would recommend you try Svelte, it sounds like what you're looking for. It's as close to vanilla js as you can get with all the benefits of a framework.
LAC-Tech•9mo ago
What benefits of a framework?

I think that's why I wrote this - I almost completely fail to see them.

proc0•9mo ago
I think React caved in to wider adoption pressure to introduce abstractions that are intuitive on the surface level but are costly in terms of large scale complexity.

> It's "declarative" right up until you're debugging stateful hooks, or resorting to useRef, or trying to reason about when a "component" re-renders

Maybe they should have modularized the core library more and have these things be separate, because the core idea of a uniflow pattern with reactivity is good.

I think what happened, at least in frontend, is that the industry pushed away from having engineers do any design or architecting on the frontend. All of these high level patterns have been "outsourced" to frameworks, and the result usually is something that has trouble scaling and adjusting to whatever domain it's in.

LAC-Tech•9mo ago
Maybe they should have modularized the core library more and have these things be separate, because the core idea of a uniflow pattern with reactivity is good.

That's what SolidJS does. IE the signal implementation is completely stand alone. I feel like it's better at doing what react purports to do then react is.

* think what happened, at least in frontend, is that the industry pushed away from having engineers do any design or architecting on the frontend. All of these high level patterns have been "outsourced" to frameworks*

I don't think react patterns are particularly high level, or do they save you from architecture. Whether it's vanilla JS or react, you still have to design.

proc0•9mo ago
Oh I haven't looked at Solidjs yet, interesting will take a look. And yeah you may still need to design your application, but having hooks be something that is out-of-the-box pushes you into certain patterns and needs to be actively ignored to avoid its design influence. I've worked in large codebases where they make almost everything into hooks, and they start getting ridiculous, breaking composability but at the same time giving the illusion that you are making your code more modular.
GianFabien•9mo ago
I write web front-ends for industrial embedded systems. So my experience might differ from business WebApps.

In my experience it requires a longer learning curve for the various frameworks than to simply learn the relevant Web API. My learning is very much JIT and over time I have built up a robust class library that gets my stuff done. When I get stuck ChatGPT suggests fixes that sometimes work and spare me from losing more hair.

LAC-Tech•9mo ago
My experience too - part of what I found is how much about how react worked I'd forgotten. But the browser itself was easier to pick up.

How close are we to a vision for 2010?

https://shkspr.mobi/blog/2026/02/how-close-are-we-to-a-vision-for-2010/
1•ColinWright•1m ago•0 comments

WebSR: Real-time AI Upscaling of videos and images on the web

https://github.com/sb2702/websr
1•avaer•4m ago•0 comments

Worldmonitor: Real-time global intelligence dashboard

https://github.com/koala73/worldmonitor
1•nreece•5m ago•0 comments

Ari Emanuel

https://en.wikipedia.org/wiki/Ari_Emanuel
1•barrister•7m ago•0 comments

Manage Git Worktrees with Ease

https://grove.safia.sh/
1•doomroot13•11m ago•0 comments

Show HN: Openslack – An open source version of Slack

https://github.com/BilalG1/openslack
1•bgwmj•12m ago•0 comments

The A.I. Evangelists on a Mission to Shake Up Japan

https://www.nytimes.com/2026/02/22/world/asia/japan-ai-politics-election.html
1•JumpCrisscross•12m ago•0 comments

Pinterest is drowning in a sea of AI slop and auto-moderation

https://www.404media.co/pinterest-is-drowning-in-a-sea-of-ai-slop-and-auto-moderation/
4•trinsic2•13m ago•0 comments

What I learned designing a barebones UI engine

https://madebymohammed.com/miniui
2•teleforce•15m ago•0 comments

Prompt Injection = 100% Unbeatable – Try for Yourself

https://memorylight.org
1•ed-aylward•15m ago•0 comments

Show HN: Tandem is a CLI to assist in reading Latin texts

https://github.com/TeamDei/tandem
2•anoncatholic3•16m ago•1 comments

Windows93.net

https://www.windows93.net/
1•mistat•16m ago•0 comments

Show HN: MeterFlow – Usage-based billing engine with fraud detection

https://github.com/ajithmanmu/meterflow
1•ajithmanmu•17m ago•1 comments

Crawling a billion web pages in just over 24 hours, in 2025

https://andrewkchan.dev/posts/crawler.html
1•pseudolus•22m ago•0 comments

Show HN: Goxe – Fast log clustering on an i5 (Reduced to 1 alloc/log, road to 0)

1•nxus_dev•24m ago•0 comments

Social media companies face legal reckoning over mental health harms to children

https://apnews.com/article/social-media-trials-meta-zuckerberg-youtube-tiktok-addiction-85c4d813c...
4•1vuio0pswjnm7•25m ago•0 comments

AI Assistant instructs staff to ignore fire alarm and keep working

https://mastodon.online/@tagir_valeev/116057271527521893
2•serial_dev•25m ago•0 comments

Show HN: Sprime – weather, crypto, news, forex all normalized to one JSON schema

https://sprime.us/
1•mario0318•31m ago•0 comments

EmberOT Releases OT PCAP Analyzer v2.0.4 with Major Asset Fidelity Enhancements

https://www.emberot.com/newsroom/emberot-introduces-ot-pcap-analyzer-v2-0-4/
1•TheWiggles•33m ago•0 comments

Videos from the Royal Society

https://royalsociety.org/videos/
2•gurjeet•34m ago•0 comments

RuBisCO

https://en.wikipedia.org/wiki/RuBisCO
3•handfuloflight•37m ago•0 comments

Wendy's franchise database allegedly exposed in data breach

https://databreach.io/breaches/wendys-data-breach-allegedly-exposes-franchise-database/
4•dbio•39m ago•0 comments

Linked List Basics

http://cslibrary.stanford.edu/103/
1•teleforce•41m ago•0 comments

What was Phil Spencer's plan to save Xbox?

https://ravi64.com/phil-spencer-xbox-farewell/
5•merlioncity•41m ago•3 comments

Freemediaheckyeah

https://fmhy.net/
7•con•41m ago•0 comments

Chinese artificial intelligence put a new spin on Winter Olympics action

https://www.scmp.com/tech/big-tech/article/3344139/how-chinese-artificial-intelligence-put-new-sp...
1•merlioncity•46m ago•0 comments

Show HN: Gridl – A daily block puzzle game

https://gridlgame.com
1•pj3677•48m ago•0 comments

OpenRockets Foundation, 2025 Impact Report

https://mag.openrockets.com
2•nekshavs•49m ago•2 comments

The Principles of Deep Learning Theory (2021)

https://arxiv.org/abs/2106.10165
2•vinhnx•49m ago•0 comments

US appeals court orders lawyer to pay $2,500 over AI hallucinations in brief

https://www.reuters.com/legal/government/us-appeals-court-orders-lawyer-pay-2500-over-ai-hallucin...
2•1vuio0pswjnm7•50m ago•2 comments