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.

My AI Adoption Journey

https://mitchellh.com/writing/my-ai-adoption-journey
1•anurag•45s ago•0 comments

Flock CEO calls Deflock a "terrorist organization" [video]

https://www.youtube.com/watch?v=l-kZGrDz7PU
1•cdrnsf•48s ago•0 comments

Show HN: Playwright Best Practices AI SKill

https://github.com/currents-dev/playwright-best-practices-skill
1•waltergalvao•3m ago•0 comments

Ask HN: I built a time-travel debugger for AI agents

1•ishantkohar•3m ago•0 comments

The Accelerator and the Brake

https://blog.sebastiansastre.co/posts/the-accelerator-and-the-brake/
1•sebastianconcpt•4m ago•0 comments

Automated face redaction in Epstein files redacts Mona Lisa

https://bsky.app/profile/wyattprivilege.bsky.social/post/3me4y7goih222
1•m-hodges•4m ago•1 comments

Toyota's working on better EV Battery placement

https://www.caranddriver.com/news/a70214829/toyota-ev-battery-layout-patent-details/
2•RickJWagner•5m ago•0 comments

Torx Plus: The High-Tech Screw Hiding in Our Gadgets

https://www.ifixit.com/News/110702/torx-plus-the-high-tech-screw-hiding-in-our-gadgets
1•nico401•6m ago•0 comments

Rewriting Pycparser with the Help of an LLM

https://eli.thegreenplace.net/2026/rewriting-pycparser-with-the-help-of-an-llm/
1•ibobev•7m ago•0 comments

I got tired of Moltbook, so I launched flowbook

https://flowbook.dev/
1•theyogadev•7m ago•1 comments

We (Basically) Stopped Writing Prompts. Here's What We Do Instead.

https://macroscope.com/blog/we-stopped-writing-prompts
2•curiouska•10m ago•0 comments

Why my "metric-free" social network failed and became a toxic void

1•mekod•11m ago•0 comments

Notes on Space GPUs

https://www.dwarkesh.com/p/notes-on-space-gpus
2•emschwartz•13m ago•1 comments

AI found 12 of 12 OpenSSL zero-days

https://www.lesswrong.com/posts/7aJwgbMEiKq5egQbd/ai-found-12-of-12-openssl-zero-days-while-curl-...
1•greedo•15m ago•1 comments

ClickHouse makes Top-N queries faster with granule-level data skipping

https://clickhouse.com/blog/clickhouse-top-n-queries-granule-level-data-skipping
1•samaysharma•15m ago•0 comments

Software Projects Will Be Late

https://aethermug.com/posts/software-projects-will-be-late
1•speckx•15m ago•0 comments

Microgravity-induced constraints on melanin bioproduction aboard the ISS

https://www.nature.com/articles/s41526-026-00560-w
1•PaulHoule•16m ago•0 comments

Show HN: HyperAgency (H9y.ai) – Open-Source Agentic AI Operating System

https://github.com/vuics/h9y
1•alphara•16m ago•0 comments

Tab-it – Smart Chrome tab organization with session management

https://chromewebstore.google.com/detail/tab-it/ibjlmaiklkfchnggbjlkhjaafchmfcnb
1•choic•17m ago•1 comments

Ask HN: Is it AGI for software engineering?

3•colesantiago•18m ago•4 comments

Show HN: Mjmx – JSX Runtime for Mjml

https://github.com/skwee357/mjmx
1•skwee357•19m ago•0 comments

High performance correctly rounded math libraries for 32-bit floating point

https://blog.sigplan.org/2021/08/26/high-performance-correctly-rounded-math-libraries-for-32-bit-...
2•fanf2•23m ago•0 comments

The Absence of No Is Not Yes: Italy's Flawed Sexual Violence Bill

https://www.hrw.org/news/2026/01/27/the-absence-of-no-is-not-yes-italys-flawed-sexual-violence-bill
2•binning•26m ago•0 comments

Alice Augusta Ball, chemist who made the first effective treatment for leprosy

https://en.wikipedia.org/wiki/Alice_Ball
2•binning•28m ago•0 comments

Show HN: Yeehaw – Infrastructure as Farm

https://github.com/Colmbus72/yeehaw
1•camcamcam•28m ago•0 comments

Show HN: Track vim cmd and mapping usage, and detect typos to optimize vimrc

https://github.com/AquiGorka/vim-stats
1•AquiGorka•29m ago•0 comments

Japanese city cancels cherry blossom festival over badly behaved tourists

https://www.bbc.com/news/articles/c1wzrlndzjro
4•tartoran•29m ago•0 comments

Date Arithmetic in Bash

https://blog.miguelgrinberg.com/post/date-arithmetic-in-bash
3•ibobev•30m ago•1 comments

Programming Your Own Modern BBS with Python

https://retrogamecoders.com/programming-bbs-with-python/
2•ibobev•30m ago•0 comments

ONNX Based Generative AI LLMs in Java with Project Babylon by Adam Sotona [video]

https://www.youtube.com/watch?v=fJwKvE2AxIo
1•zikani_03•31m ago•0 comments