frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Can the React 19 hooks be found in the wild?

4•zwilderrr•14h ago
Wondering if anyone is actually using useActionState, useTransition, useOptimistic, etc, in the wild, or if they are still relying on form libraries and data fetching frameworks. If yes, please indicate what (size) company you work for.

Comments

PaulHoule•13h ago
The systems I work on at work use a Java based back end and we're not going to complicate our back end more by adding a node.js sever so we can SSR, I know a lot of those hooks have to do with that. I have a bunch of demos that do graphics-heavy stuff with three.js, AFrame and such and if I publish these to the web one big advantage is I can upload them to S3 and publish them to a CDN and be done except for paying the bills, so again, no SSR. [1]

It's not so clear to me if useTransition, useOptimistic are part of the problem or part of the solution. (e.g. "looking responsive" could be the enemy of "being responsive", right now I am fixing a ticket about an incorrect state that flashes for < 0.5 sec that drives some people crazy, if I wanted something different in my framework it would be "update the UI state once, it renders once and doesn't keep calling effects and setters for an indefinite time")

Funny I am advocating for a React 19 update because at least React 19 can tell the test framework when it is done running callbacks, it might have me writing tests for components again.

[1] ... and if I want to SSR I might just ditch React and build the kind of apps that I built in 1999 with maybe a little help from HTMX

1oooqooq•8h ago
useActionState (which had questionable design to begin with) was botched right before 19 release by nextjs devs. bug reports are all "left on read".

edit: it's also a great source of laughs if you enjoy AI hallucinations. eg. ask it to generate a use action state solution which updates a select element.

leerob•8h ago
Some examples here (public git repos): https://grep.app/search?f.lang=TSX&q=useActionState

SDMAs: Be playing browser games at work

https://ajmoon.com/posts/sdmas-why-you-should-be-playing-browser-games-at-work
1•alex-moon•4m ago•0 comments

A Mathematical Approach to Life: Visualizing Mortality to Optimize Time

https://lifeecalendar.com
1•zemil•6m ago•1 comments

Show HN: I built a live AI simulation of Musk vs. Trump debating current events

https://ai-dialog.theprisma.co/?dialog_uid=musk_vs_trump
1•staticspb•7m ago•0 comments

Ask HN: Recommend a good computer science / programming audiobook?

1•leandot•10m ago•0 comments

The Enforceability of AI Training Opt-Outs

https://katedowninglaw.com/2025/05/28/the-enforceability-of-ai-training-opt-outs/
1•Tomte•11m ago•0 comments

Silent bugs matter: a study of compiler-introduced security bugs

https://www.usenix.org/conference/usenixsecurity23/presentation/xu-jianhao
1•fanf2•13m ago•0 comments

A tool for burning visible pictures on a compact disc surface

https://github.com/arduinocelentano/cdimage
1•carlesfe•25m ago•0 comments

Film Packaging Archive

https://fp-archive.com/
1•dekuNukem•30m ago•0 comments

Prophet: Automatic Forecasting Procedure (2023)

https://github.com/facebook/prophet
1•mmarian•34m ago•0 comments

Best place for small remote gigs?

2•xucian•35m ago•0 comments

Wish you weren't here? Why people of all ages want to leave the UK

https://www.ft.com/content/c30f2603-d92c-48c1-be71-53fd340ed836
3•mmarian•36m ago•2 comments

Mind the Trust Gap: Fast, Private Local-to-Cloud LLM Chat

https://hazyresearch.stanford.edu/blog/2025-05-12-security
1•tmoertel•37m ago•0 comments

OpenAI Operator vs. Claude Computer Use: The Definitive 2025 Comparison

https://www.agentrank.tech/blog/openai-operator-vs-claude-computer-use
1•hughmcinnis•43m ago•0 comments

How old are the Dead Sea Scrolls? An AI model can help

https://www.economist.com/science-and-technology/2025/06/05/how-old-are-the-dead-sea-scrolls-an-ai-model-can-help
2•MukundMohanK•44m ago•0 comments

Landscapes that enhance natural sounds and minimise noise pollution

https://theconversation.com/how-to-design-landscapes-that-enhance-natural-sounds-and-minimise-noise-pollution-252859
1•thinkingemote•45m ago•0 comments

Cities around the world are sinking at "worrying speed"

https://www.bbc.co.uk/news/resources/idt-14d00552-9211-4dab-89d1-60e34e226e43
2•philbo•46m ago•0 comments

IBM Quantum Learning

https://learning.quantum.ibm.com/
1•ibobev•48m ago•0 comments

How Red Hat just transformed enterprise server Linux

https://www.zdnet.com/article/how-red-hat-just-quietly-radically-transformed-enterprise-server-linux/
1•thunderbong•49m ago•0 comments

iFixit says the Switch 2 is even harder to repair than the original

https://www.theverge.com/news/681568/ifixit-nintendo-switch-2-repairability
2•01-_-•56m ago•0 comments

Show HN: Swagger-RAG – Search Swagger API Docs with LLM

https://github.com/njhyuk/swagger-rag
1•njhyuk•1h ago•0 comments

Japan Create Plastic That Dissolves in Seawater Within Hours

https://seasia.co/2025/06/07/goodbye-microplastics-japan-create-plastic-that-dissolves-in-seawater-within-hours
2•oddmiral•1h ago•0 comments

Correlation between physical fitness and risk of death confounded by genetics

https://academic.oup.com/eurjpc/advance-article/doi/10.1093/eurjpc/zwaf267/8128214?login=false
3•marvel_boy•1h ago•1 comments

Self-Referential Abstractions

https://lcamtuf.substack.com/p/self-referential-abstractions
1•v9v•1h ago•0 comments

Microsoft's Recall feature is still threat to privacy despite recent tweaks

https://adguard.com/en/blog/microsoft-recall-privacy-threat-adguard.html
1•Improvement•1h ago•0 comments

Enable Dark Theme in LibreWolf

https://bitwilli.com/enable-dark-theme-in-librewolf
1•todsacerdoti•1h ago•0 comments

Hacker News is a stronghold of transhumanist propaganda and fascist censorship

2•GenshoTikamura•1h ago•0 comments

Up and running–first room-temperature quantum accelerator of its kind in Europe

https://nachrichten.idw-online.de/2025/06/05/up-and-running-first-room-temperature-quantum-accelerator-of-its-kind-in-europe
2•donutloop•1h ago•0 comments

Scientists Create an Artificial Eye That Could Give AI Human-Like Sight

https://studyfinds.org/artificial-eye-ai-human-like-sight/
2•andrewfromx•1h ago•0 comments

Low-Level Optimization with Zig

https://alloc.dev/2025/06/07/zig_optimization
38•Retro_Dev•1h ago•4 comments

HZ-program (Typesetting algorithm by Hermann Zapf)

https://en.wikipedia.org/wiki/Hz-program
2•wolfi1•1h ago•0 comments