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•1y ago

Comments

copypaper•1y 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•1y ago
What benefits of a framework?

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

proc0•1y 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•1y 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•12mo 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•1y 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•1y 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.

Codex subscription in an Electron app and Chromium Browser

https://github.com/chillysbabybackribs/Goldenboy-YouTube-Reddit-Extractor
1•goldenboychrome•1m ago•1 comments

Termshot: Create screenshots based on terminal command output

https://github.com/homeport/termshot
1•sea-gold•3m ago•0 comments

KDE at 30

https://kde.org/anniversaries/30/
1•kristianp•5m ago•0 comments

Letter from van Gogh: "No, [ ], learn how to dance, or fall in love"

https://www.webexhibits.org/vangogh/letter/17/W01.htm
1•jdcampolargo•6m ago•0 comments

KDE Frameworks

https://invent.kde.org/frameworks
1•kristianp•7m ago•0 comments

OpenWarp

https://openwarp.zerx.dev
2•zero-lab•7m ago•0 comments

KV Cache Locality: The Hidden Variable in Your LLM Serving Cost

https://ranvier.systems/2026/04/30/kv-cache-locality-the-hidden-variable-in-your-llm-serving-cost...
1•mindsaspire•9m ago•0 comments

Brain scans reveal 3 ADHD subtypes

https://www.washingtonpost.com/health/2026/04/30/adhd-subtype-extreme-brain-scans/
1•brandonb•14m ago•0 comments

The Hearts of the Super Nintendo

https://fabiensanglard.net/snes_hearts/
3•droppedasbaby•15m ago•0 comments

What Is the Most Common Type of Planet in the Galaxy?

https://www.universetoday.com/articles/what-is-the-most-common-type-of-planet-in-the-galaxy
2•johnbarron•18m ago•0 comments

Samsung warns memory shortage will be worse next year

https://mashable.com/article/samsung-memory-shortage-ram-ai-worse-2027
2•ripe•19m ago•0 comments

Amazon Free Cash Flow drops 95%

https://ir.aboutamazon.com/news-release/news-release-details/2026/Amazon-com-Announces-First-Quar...
3•johnbarron•19m ago•0 comments

When you save money, you buy freedom

https://herbertlui.net/when-you-save-money-you-buy-freedom/
1•littlexsparkee•23m ago•2 comments

Veryl 0.20.0: logic synthesis and type inference are supported

https://veryl-lang.org/blog/announcing-veryl-0-20-0/
1•dalance•24m ago•0 comments

Garmin-health-data – Own your Garmin data analysis

https://github.com/diegoscarabelli/garmin-health-data
3•diegoscara•27m ago•1 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
1•softservo•29m ago•0 comments

This photo has no color – how Lippmann Plates work

https://www.youtube.com/watch?v=-DyrBDsKA5s
1•freetime2•31m ago•0 comments

Fraude.Codes

https://fraude.codes/
2•dvdlrg•33m ago•0 comments

A Sum of Errors

https://lyonhe.art/a-sum-of-errors/
2•8organicbits•42m ago•1 comments

Psychology of How Dogs Feel Your Love [video]

https://www.youtube.com/watch?v=JaRB1wEUpIo
2•gmays•46m ago•0 comments

Enabling privacy-preserving AI training on everyday devices

https://news.mit.edu/2026/enabling-privacy-preserving-ai-training-everyday-devices-0429
2•gnabgib•46m ago•0 comments

Newbrew: TUI for discovering recent Homebrew formula additions

https://github.com/matt-riley/newbrew
1•sea-gold•47m ago•0 comments

State of the AI Frontier, April 2026

https://gertlabs.com/blog/state-of-frontier-april-2026
6•gertlabs•48m ago•1 comments

Cardboard Hinge Masterclass [video]

https://www.youtube.com/watch?v=TOm8APHrVas
1•vpribish•48m ago•0 comments

Bringing Fusion onto Claude for Creative Work

https://aps.autodesk.com/blog/bringing-fusion-claude-creative-work
2•nsoonhui•50m ago•0 comments

CVE-2026-31431 (Copy Fail): Linux Kernel LPE

https://securityboulevard.com/2026/04/cve-2026-31431-copy-fail-linux-kernel-lpe/
2•dnemmers•52m ago•1 comments

What is Thundr? Omegle's replacement, warts and all

https://mashable.com/article/what-is-thundr-omegle-replacement-warts-and-all
1•gnabgib•58m ago•0 comments

Agentic Harness Engineering

https://arxiv.org/abs/2604.25850
4•Anon84•1h ago•0 comments

Israeli forces raid Global Sumud Flotilla boats in international waters

https://www.aljazeera.com/news/2026/4/29/israeli-military-speedboats-block-gaza-bound-aid-ship
5•0x54MUR41•1h ago•2 comments

Spite Apps: The Latte Larry's of Apps

https://sxp.studio/blog/spite-apps-the-latte-larrys-of-apps
1•tasoeur•1h ago•0 comments