frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Modern React Stack Explained for 2026

https://jsdev.space/react-stack-2026/
3•javatuts•1h ago

Comments

Escapado•1m ago
For the past two years I have worked on a SaaS platform for the education space that we are about to launch (small 2 person start up) - it involves a lot of highly dynamic forms and fairly complex client side state and tons of rather complex components and workflows.

The stack for non-specifics we landed on for now coincides with a lot of what is mentioned in the blog post with a few extras:

Nextjs, oRPC, Next-Intl, Zod, Tanstack Form, Tanstack Query, Drizzle, SQLite, Tiptap, Better-Auth, Jest, Tailwind, a heavily customized Shadcn.

However there are a few more things I would like to mention.

Formatting: Oxfmt

Linting: Oxlint

E-Mails: react-email

Icon Library: Lucide

User HTML in React: Interweave

Date Handling: date-fns

Drag and Drop Handling: DnD Kit

Payment (MoR): Creem (we are EU based, so a EU MoR matters to us)

The blog post creates a good overview of technologies that exist out and some pros and cons but it's not so clear to me why the things that are recommended are recommended except for: Companies use them.

We went through multiple rewrites of large parts of the codebase, originally we started out using supabase for the backend, then moving to drizzle with self hosted postgres, then switching to sqlite. We started with react-hook-form and switched to Tanstack Form. We had our own UI library, then switched to Shadcn and customized that heavily. We used next-auth (now auth.js) and switched to better-auth, used server actions, then switched to oRPC.

Most of the decisions we made were either grounded in a very specific technical aspect related to our product or just out of curiousity of whether the grass would be greener on the other side (it was sometimes, not always).

In my normal day job I have also mostly worked on Nextjs apps for the past few years, eCommerce, internal dashboards and tools etc and I guess my takeaway is that most of these tools can get you where you want but depending on the shape of your problem(s), some lend themselves better than others and you will probably only find out if you try it out. If you are building a highly complex app, you will inevitably run into situations where all those libraries and frameworks will not provide you with the things you want or will expose primitives that make it cumbersome to work with. I will give one recent example:

In our application we worry a lot about potential loss of form data of dynamically created forms, so we need some sync solution for said form data and have some form of persistence. The all-encompassing solution for us would involve: Local sync to indexed db, including tab sync, websocket sync of change increments (not the entire form, they are quite large), retry on error / connection loss, ideally some state merging logic for the form state in case of divergence with last writer wins fallback, granular form validation with different representations of data for draft and submit states, atomic re-renders (e.g. save button gets disabled when sync is in flight but no full re-renders when the form object changes) and different representations of the form data (image URLs from the server snapshot look different than base64 representations in the form for example). This is not trivial. We looked at different LoFi solutions (Tinybase, different CRDT approaches, Zero, SignalDB) with SignalDB being the closest one to what we would like. Eventually we had to ditch that too and implement a lesser version of all of this for our v1 that syncs the entire exam state periodically over oRPC (+ debounced local storage) and a pretty massive hook that abstracts the sync logic over various forms and form builders we have to handle all sorts of edge cases. Tanstack form is not meant for this (dirty tracking does not line up if the "default state" changes), there is no concept of drafts and final forms, there are no storage adapters that do conflict resolution the way you might want because that is so specific to your app.

Another point I would like to make is that, while modern react stacks do afford the developer a pretty nice UX 90% of the time, sometimes that comes with some pretty annoying tradeoffs. Nextjs is quite heavy and slow. No cron jobs when self-hosting. Having your db schema defined in TS (using drizzle), tacking some extra Zod on it at the client/server boundary and carry it through into the frontend and eventually in Tanstack form is very nice on paper but for dynamic forms with arrays and more complex data types the TypeScript LSP will absolutely shit the bed, even TSGO can't keep up or outright crashes regularly for me. Tanstack form type inference for form fields is also lacking for complex array types for us. Using SQLite is great because no separate process is needed to host the DB, but you don't get CDC or realtime updates easily (maybe turso will help here in the future). Using shadcn is really cool to get up and running and build things that look generally professional and nice, but once you modify the files (which you will need to in order to keep up with the demands of the app) the upgrade path becomes painful and the shadcn dependency list and amount of DOM it sometimes produces of it is also ridiculous.

All that is to say, I think the difficult part of engineering even in 2026 happens at the outer edges of what you build and no framework or stack is gonna save you from all of that (and probably shouldn't!).

Unitree GD01: China's $537k rideable transformer robot is now in production

https://gagadget.com/en/709729-unitree-gd01-chinas-537k-rideable-transformer-robot-is-now-in-prod...
1•rguiscard•39s ago•0 comments

I'm Making Strandfall, a Solarpunk Orienteering Larp

https://mssv.net/2026/04/29/im-making-strandfall-a-solarpunk-orienteering-larp/
1•adrianhon•1m ago•0 comments

Canva's Magic Layers AI Changed "Palestine" to "Ukraine" in User Designs

https://gizmodo.com/canva-admits-its-ai-tool-removed-palestine-from-designs-apologizes-for-any-di...
3•lebowska•5m ago•0 comments

Texas Attor­ney Gen­er­al Sues Net­flix for Spy­ing on Kids and Con­sumers

https://www.texasattorneygeneral.gov/news/releases/attorney-general-ken-paxton-sues-netflix-spyin...
1•frb•10m ago•0 comments

Teen Boys and Young Men Are Injecting Peptides in Search of Perfection

https://www.wsj.com/health/wellness/boys-peptides-stacks-looksmaxxing-trevor-larcom-835e58cd
2•petethomas•12m ago•1 comments

Ducklake-SDK: Use DuckLake from Python or Rust without going through DuckDB

https://github.com/borchero/ducklake-sdk
1•borchero•16m ago•0 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
11•surprisetalk•19m ago•0 comments

Face ID Search

https://www.faceidsearch.com/en
1•bellamoon544•24m ago•0 comments

URLSession to Electrons: how networking works under the hood

https://blog.jacobstechtavern.com/p/urlsession-to-electrons
1•jakey_bakey•25m ago•0 comments

Show HN: Affordable Survey Software

https://www.survser.com/
2•pkundr•26m ago•0 comments

DuckDB/DuckLake multi-user in the browser with Read/Write and WebSocket notify

https://ducklake-with-vgi.query-farm.services/
2•rustyconover•27m ago•0 comments

TanStack NPM Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack

https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack
1•croes•32m ago•1 comments

Why should you have a data room? A stage-by-stage guide

https://vastpoint.substack.com/p/eng-why-should-you-have-a-data-room
1•kaku05ac•32m ago•0 comments

Lies, damned lies, and Elastic's benchmarks

https://www.gouthamve.dev/lies-damned-lies-and-elastics-benchmarks/
1•shutty•36m ago•0 comments

Loki Patera

https://en.wikipedia.org/wiki/Loki_Patera
1•DanielKehoe•37m ago•0 comments

SIEM and SoC: A Guide for Security Leaders in 2026

https://threatcrush.com/blog/siem-and-soc
1•buffer_overlord•37m ago•0 comments

EU Cloud Comparison Matrix

https://eualternative.eu/eu-cloud-comparison/
4•sparkling•41m ago•0 comments

Show HN: A benchmark where LLMs make memes from current news

https://memebench.net
3•max-azendorf•43m ago•1 comments

HDMI 2.1 Display Stream Compression (DSC) Ready for Amdgpu Linux Driver

https://www.phoronix.com/news/HDMI-2.1-DSC-AMDGPU-FRL
4•WithinReason•48m ago•0 comments

GitLab CI Functions

https://docs.gitlab.com/ci/functions/
2•yla92•49m ago•0 comments

The Jevons Paradox and the Future of Software Development

https://igorstechnoclub.com/the-jevons-paradox-and-the-future-of-software-development/
1•Igor_Wiwi•52m ago•0 comments

Rich [Sutton's] Slogans

http://incompleteideas.net/rlai.cs.ualberta.ca/RLAI/richsprinciples.html
1•atomicnature•52m ago•1 comments

Nikola Tesla's Lost Laboratory in Manhattan

https://www.untappedcities.com/nikola-teslas-lost-laboratory-manhattan/
3•geox•55m ago•0 comments

How to Use Adobe QR Code Generator to Create Branded QR Codes Fast

https://www.tycoonstory.com/adobe-qr-code-generator/
2•chiyabu•56m ago•1 comments

Aadhaar Seeding Process and Benefits – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/aadhar-seeding.aspx
1•saumyaraut11•57m ago•0 comments

LCC: Toward a Unified Theory of Consistency in Message-Passing Systems

https://arxiv.org/abs/2605.09114
2•withinboredom•1h ago•0 comments

Now Is the Perfect Time to Change Sudo

1•sinsudo•1h ago•2 comments

The Modern React Stack Explained for 2026

https://jsdev.space/react-stack-2026/
3•javatuts•1h ago•1 comments

Apple updated 12 years old devices with data retention fix

https://support.apple.com/en-us/127114
2•nar001•1h ago•0 comments

Cheap Missiles, Not Drones, Will Win the Next Air War

https://warontherocks.com/cogs-of-war/cheap-missiles-not-drones-will-win-the-next-air-war/
2•throwawayffffas•1h ago•0 comments