r/reactjs • • Sep 10 '26

News React 19.3

Thumbnail
react.dev
178 Upvotes

r/reactjs • • 4h ago

Needs Help How much coding do you actually need to know to build a small internal react app?

37 Upvotes

Say you work at a small accounting firm and want to build something to keep track of clients, documents and deadlines instead of having everything scattered across spreadsheets. If AI builds the React part and Supabase handles the database and logins what else would you actually need? The part that confuses me is how you make sure only the right people can access certain data. Is that something you can set up within the app or do you need to write a separate backend for it? Trying to understand how realistic this is for someone who isn't a developer.


r/reactjs • • 9h ago

News One Year After React2Shell Patch, Thousands Of Servers Are Reported To Have Had Keys Stolen

3 Upvotes

CloudSEK has published a report on November 30, detailing a campaign they are calling React2Keys. Tens of thousands of credentials from thousands of hosts, per CloudSEK.

They got the keys, tested them, used them and charged victims for using AI/Cloud under their stolen keys. They also added new SSH keys to the servers without the server owner's permission.

Upgrade to 19.0.1, 19.1.2, 19.2.1+, or patched Next.js version. Take all the secrets that were stored on the server, cycle them through. Revoke the old keys. Check the authorized_keys of your accounts, and toss any SSH key which you can't associate with a person or system. You should look at the November bills for the accounts that you can access with those keys and see if there is any usage you don't recognize.

Also reported this week by SecurityWeek and CSO Online. The fact the flaw exists, the fixes and the CISA KEV listing are all public knowledge. So the "patch & rotate" part is worth doing even just based on that.

https://hol.org/blog/cve-2025-55182-react2shell-react2keys-campaign


r/reactjs • • 2h ago

Show /r/reactjs Built Springr, a library o 60+ animated React components - looking for feedback

Thumbnail
springr.dev
0 Upvotes

Hi! I would like to share with you Springr, a project I’ve been working on over the last few months.
It’s a curated collection of animated React components, focus on flexibility, accessibility and motion.I set out to answer this question: "What if a component were designed with emphasis on motion, while remaining fully accessible and customizable like shadcn/ui?". That’s the core question that drives my work. Here is what you can find right now:

  • 60+ components
  • Some hooks I found useful so far
  • A set of tools (like UUID generators, etc) made sooo easy to use, without ads and totally private and local

Any technical or non technical feedback is super welcome and appreciated, thank you!


r/reactjs • • 3h ago

Theo gg's t3code, went multilingual. I measured the cost

0 Upvotes

Last week everyone was digging into T3 Code's telemetry, the data leaving your machine. I got curious about the other direction: the data coming in.

On November 12, T3 Code (Theo's GG open-source app for coding agents) went multilingual. Two weeks later: 10 languages, 10,298 strings. Its AGENTS.md lists "Performance without compromise" among the things the project "can never compromise on". Theo also left a note in that same file: "measure twice, cut once".

So I measured. I built the production bundles (web, desktop, mobile) and pulled them apart.

A few things that stood out:

- A French user downloads 370 KB of gzipped i18n before the first frame. The app waits for the whole catalog before it renders anything

- About 63% of that catalog is text for screens they haven't opened yet, also full of orphalan keys

- Every string ships twice: English + French via the catalog

- In two weeks, the team wrote three patches to the library's compiled code to stop it from hashing and parsing strings on every render.

The worst, the team did measure the cost when they adopted the library. The catch: they measured once, on a settings page with a 3.6 kB catalog. Then the whole app got translated, and nobody measured again.

And it's not just the bundle. It's also rendering and performance issue. As well as DX.

Disclosure: I'm part of that competing i18n library, so read this as a competitive take, not a neutral review. (Every number links to a commit or a source, and if I got something wrong I'd genuinely like to know.)

Full article : https://intlayer.org/blog/t3code-i18n-reverse-engineered


r/reactjs • • 18h ago

Show /r/reactjs I built Lexion, an MIT-licensed headless rich text editor on ProseMirror with adapters for 10 frameworks

Thumbnail
reddit.com
0 Upvotes

r/reactjs • • 1d ago

Resource How I load fonts for a first-screen hero in React 19 without a flash (preconnect + critical/late split)

Thumbnail
motionuikit.io
0 Upvotes

I ran into this while building a hero with a canvas animation. The headline font has to be there on the first paint or the whole screen visibly jumps, but loading every font up front slows the page. What worked for me was splitting fonts into two groups.

  1. Critical fonts: the ones the first screen can’t look right without (headline and UI). I render these as a stylesheet link with a precedence prop, so React treats the stylesheet specially.
  2. Late fonts: decorative ones that only appear after interaction or in small labels. I load these after mount, so they never block the first paint.
import { preconnect } from 'react-dom'
import { LateFonts } from './late-fonts'

const CRITICAL_FONTS =
  'https://fonts.googleapis.com/css2?family=Archivo:wght@800&display=swap'
const LATE_FONTS =
  'https://fonts.googleapis.com/css2?family=Martian+Mono:wght@400&display=swap'

export default function Hero() {
  // React places these hints in <head>, ahead of the stylesheet
  preconnect('https://fonts.googleapis.com')
  preconnect('https://fonts.gstatic.com', { crossOrigin: 'anonymous' })

  return (
    <>
      <link rel="stylesheet" href={CRITICAL_FONTS} precedence="default" />
      <LateFonts href={LATE_FONTS} />
      <main>{/* hero content */}</main>
    </>
  )
}



'use client'
import { useEffect } from 'react'

export function LateFonts({ href }: { href: string }) {
  useEffect(() => {
    const link = document.createElement('link')
    link.rel = 'stylesheet'
    link.href = href
    document.head.appendChild(link)
    return () => link.remove()
  }, [href])
  return null
}

Things to watch:

  • precedence is what makes React handle the stylesheet specially. Without it, you get a plain <link>.
  • A component that renders a stylesheet link with precedence suspends until the stylesheet loads, so decide where your Suspense boundary sits.
  • preconnect only helps if you call it while rendering.
  • I left out the late fonts’ fallback styling. If a late font changes layout, you may still see a small shift.

Curious how others split font loading for first-screen sections, or whether you just self-host everything.


r/reactjs • • 1d ago

Discussion Hot take: for most small React projects, useState + lifting state up is enough — I only reached for a state library when props got silly

0 Upvotes

Been learning React properly over the last few months while working a full-time marketing job and studying BCA, so most of my projects are small — a portfolio site, a couple of client landing pages. Early on I thought I needed Redux for everything because every tutorial mentioned it. In practice, useState and passing props down got me through all of it. The one time I actually felt the pain was a multi-step form where the same data was needed three components deep and I was passing props through components that didn't care about them. That's when I tried Zustand and it clicked. Curious — what was the moment you knew you actually needed a state library, and which one did you pick? Or do you still avoid them?


r/reactjs • • 1d ago

Resource ReactJS certificate

0 Upvotes

Hi ,

Has anyone given the certificates.dev reactjs certificate or any other . How is the exam pattern and difficulty level.

Is this a proctored exam like Anthropic Claude.

Also which course I can refer to prepare for exam.

FYI: My company has asked me to do the certification as i am new React , having 7yrs experience in Angular.


r/reactjs • • 2d ago

Resource I packaged a CLI of "anti-AI-slop" rules for React Three Fiber shaders, Framer Motion springs, and Lenis/GSAP scroll (npx kinetic-skills)

Thumbnail
github.com
2 Upvotes

r/reactjs • • 3d ago

Show /r/reactjs I made a little library of React motion and interaction studies

10 Upvotes

I made this mostly for myself because I like messing around with motion and small interaction details in interfaces. Figured I'd put everything in one place and share it here.

There's a mix of stuff like draggable workspaces, spring animations, connectors, typography experiments and a few more unusual interactions. You can play with the demos and download the source if you want to use anything.

The React components use scoped CSS, caller-owned state and callbacks. The spring solver has tests for damping and retargeting, and the gallery has browser tests for pointer gestures, keyboard controls and reduced motion. Some of the library is adapted from upstream projects, with attribution in the README.

Site: https://design.querencia.art/ GitHub: https://github.com/0xque/design Spring implementation: https://github.com/0xque/design/blob/main/src/library/PhysicsMotion.tsx

I'm still adding stuff to it. Let me know what you think or if there's anything you'd change, especially around making the interactions reusable in React.


r/reactjs • • 2d ago

Discussion Is a prop that passes through 3 components that never read it already prop drilling?

0 Upvotes

I maintain a structure linter and had to turn "prop drilling" into a number, which turned out harder than writing the check.

What I settled on: a prop counts as drilled when 3 or more components in a row only declare it and hand it to a child. Reading it once, even in a condition, takes the component out of the chain. So does binding it to a child's event (`onClick={onSave}`), and so does spreading `...props`.

The case that convinced me the rule is worth having, from a well known open source app: `mountUnavailableModelTooltip` goes ArtifactPanel -> SideTaskPanel -> SideTaskSession -> ChatPane -> ChatEditor -> ToolbarPopover -> ToolbarDropdownRow. Seven components carry it, none of them use it.

To check the threshold I ran it on 105 open source TypeScript projects. 58 had at least one such chain. Out of 881 drilled props, 658 were exactly 3 deep, so the threshold decides almost everything: at 4 the rule would report a quarter of that.

What I did not expect is that context was rarely the fix. Usually the top component could render the bottom one itself and pass it down as `children`, and the middle ones would never hear about the value.

So, people who review React code for a living: is 3 where it starts to bother you, or do you only care at 4+?

The rule is part of unknot, a linter I wrote: https://github.com/PatternVoid/unknot


r/reactjs • • 4d ago

At what point did you stop prop-drilling and reach for context or a state library?

26 Upvotes

I'm learning React while working full-time, building small projects (a portfolio site and a small clothing-brand site). Right now I mostly pass props down, and it works fine for small stuff, but once a component tree gets a few levels deep it starts feeling messy. For people who've built real projects — what was the moment you decided props weren't enough anymore? Was it a specific app size, a specific pain, or did you just start with context or Zustand from the beginning? Curious how others made that call.


r/reactjs • • 3d ago

Show /r/reactjs Strange Quark - a framework for building desktop applications with react, no webview/chromium.

Thumbnail
github.com
4 Upvotes

Hi there! i made strange quark because i believe that cross platform desktop applications shouldnt require learning a whole new stack, or three for that matter if you are using the native toolchains of each platform.
Strange Quark keeps the parts of a browser that React apps depend on and replaces the rest with native code:

  1. Your app and react-dom run unmodified in V8.
  2. react-dom talks to squark-dom, a DOM written in JavaScript. React and libraries see ordinary DOM nodes, events and CSSOM objects.
  3. Every DOM change becomes a 16-byte record in a journal. The journal streams into a Rust copy of the document.
  4. Stylo(the CSS engine Servo and Firefox share) styles that document. Taffy and Parley lay it out.
  5. A GPU renderer draws it through wgpu and Vello, on its own thread.

i would love to hear technical feedback and criticism :)


r/reactjs • • 5d ago

Resource I built animated characters that replace the three-dot loading indicator

Thumbnail
mien.hazem.design
35 Upvotes

AI apps spend a lot of time thinking and most just show three dots. I wanted something that actually communicates what’s happening.

So I made Mien — 40 characters with up to 62 moods each (thinking, listening, searching, uploading, celebrating, sleeping…). You change the mood with one line of code and it morphs smoothly, even in the middle of an animation.

You can also design your own character in the studio with custom expressions and animations.

Works with React, Vue, Next.js, Svelte, or plain websites.


r/reactjs • • 5d ago

News This Week In React #307: Security, React Router, Next.js, TanStack Query, RTL, RTK, Styled Components, Talata, Pierre | Reanimated, Worklets, Expo, Skia, WebGPU, Unistyles, Legend List | TC39, Node.js, Parcel, Firefox, webpack, Nudeps

Thumbnail
thisweekinreact.com
6 Upvotes

r/reactjs • • 5d ago

Show /r/reactjs I made a React UI kit inspired by the Minitel, the French Videotex terminal: 40×25 grid, mosaic graphics, 1,200 baud reveal

5 Upvotes

videotex-ui is an open-source React UI kit that draws interfaces the way French Videotex did: a 40 × 25 character grid, 8 colors, 2 × 3 mosaic graphics and the 8 function keys of the Minitel.

Technical details

  • Values from the spec. Grid size, colors and their grey levels, mosaic codes and line timing were checked against the Minitel 1B specifications (STUM). Each value cites its source in docs/SPECS.md.
  • 1,200 baud reveal. Each character costs 10 bits on the line (start bit, 7 data bits, parity, stop bit), so 120 characters per second: a full page of 1,000 characters takes about 8.3 seconds.
  • Sharp mosaics. Each mosaic cell is drawn with CSS background layers in currentColor. The screen picks the largest whole-number scale that fits, so every dot lands on whole pixels.
  • Accessibility. Screen readers read the text of the page, not the grid. Titles, menus, inputs and function keys are real headings, lists, inputs and buttons. prefers-reduced-motion turns off blinking, flicker and the progressive reveal.
  • Two modes. Title, StatusRow, Menu, InputField, Frame and Mosaic work on the 40 × 25 screen, or on their own in a normal page.
  • Server-friendly. The core (PageBuilder, palettes, mosaics) is plain TypeScript without React, so a React Server Component can build a page and pass it to <Screen>.
  • Picture to mosaic. A converter turns a picture into mosaic characters in the browser (nothing is uploaded), and the library can export the result as a PNG or a ready-to-paste React component.
  • No runtime dependencies; React is a peer dependency.

Install

npm install videotex-ui

or copy the source into your project with the shadcn CLI:

npx shadcn@latest add https://cdn.jsdelivr.net/npm/videotex-ui/r/screen.json

Example

const page = new PageBuilder()
  .moveTo(3, 2).print('HELLO', { fg: 'yellow', size: 'double-size' })
  .moveTo(5, 2).print('Type your choice then ')
  .print(' Send ', { inverse: true })
  .build();

<Screen page={page} crt baud={1200} aria-label="Home" />

This is version 0.1.0. I would like feedback on the API and on accessibility in particular.

Minitel is a registered trademark of Orange. This project is independent and is not affiliated with, sponsored or endorsed by Orange.


r/reactjs • • 4d ago

Resource How much prop drilling is in popular React codebases? I measured 104 repos: 653 props carried through components that never read them

0 Upvotes

Everyone agrees prop drilling is bad and nobody agrees on where it starts, so I tried to define it strictly enough for a tool to find it.

The definition I ended up with: a prop goes through 3 or more components that do nothing with it except hand it to a child. Each of those components has to declare it, type it and forward it, and none of them needs it.

What does not count, because these were the false alarms:

- The component reads the prop for anything at all, even one condition

- It binds the prop to an event of a child, like `<Button onClick={onSave} />`. That is using a callback, not passing it along

- It spreads the whole props object down. That is a wrapper, a different problem

- The child comes from a library. The chain is only followed through components of the project itself

I ran this over 104 of the most starred TypeScript repos in the AI ecosystem, resolving components across files with the TypeScript compiler.

- 55 of the 104 had at least one drilled prop

- 653 drilled props in total, starting from 448 components

- The longest chains were 6 components deep. One example: `externalLink` enters at `InspectorReviewsView` and passes through `ReviewRuns`, `ReviewRunHistory`, `ReviewSummaryCard`, `GithubInlineComments` and `InlineCommentList` before `InlineCommentRow` finally reads it

- shadcn/ui: zero

Two things I did not expect:

  1. Drilling comes in bundles. When one prop goes down a chain, five more usually go down the same chain. The 653 props are really about 450 places, and often 3 or 4 structural decisions per repo. It is one fix, not twenty.
  2. The fix was almost never "add a context". In most chains the top component could simply render the bottom one and pass it as `children`, and the four components in between would stop knowing about the value.

A sample of these findings was checked by hand against the source, which is where the callback-binding rule above came from: the first version counted `onClick={onSave}` as a pass-through and it was wrong.

Per-repo numbers, prop drilling has its own column: https://github.com/PatternVoid/unknot/blob/main/LEADERBOARD.md

The tool is open source and I wrote it: https://github.com/PatternVoid/unknot. `npx unknot --rule prop-drilling` lists the chains in your project, with files and lines.

Where would you draw the line? Is 3 pass-through components too strict, or too lenient?


r/reactjs • • 5d ago

Show /r/reactjs Building an e-commerce dashboard with Next.js 16 and shadcn/ui

0 Upvotes

Hey everyone!

We've been spending quite some time building an e-commerce admin dashboard called Emporium, and I wanted to share a little look at what we've been working on.

The idea was to build something that feels like a real dashboard you'd actually use, rather than just putting together a collection of cards and tables.

A few things we've worked on:

  • Overview dashboard with sales analytics and statistics
  • Orders management and data tables
  • Customizable sidebar and topbar layouts
  • Light and dark themes
  • Font and theme customization
  • LTR and RTL support

It's built with Next.js 16, shadcn/ui and Base UI.

One thing we paid particular attention to was customization. We wanted people to be able to change the overall look and layout without having to dig through multiple files just to adjust basic settings.

You can take a look at the live demo here:
https://demo.shadcnstore.com/emporium/

Would love to hear what you think!

Especially curious:

  • What do you usually look for in an admin dashboard template?
  • Do you prefer sidebar or topbar layouts?
  • How important is having a built-in theme customizer?

r/reactjs • • 5d ago

Discussion What does React handle when a page hydrates? I built a renderer to find out

0 Upvotes

I maintain Farm.js. React is our default renderer, but apps can bring their own. I built a small UI library called Leaf to try that with an app that had no React dependency.

The surprise was where React showed up. Leaf could render a button as HTML on the server, but the development client loaded React through a router import. The page could render, then fail to hydrate. Testing with React already installed had hidden that dependency.

We gave the router its own entry point. The test I care about now is small: in an app without React, can I click the server-rendered button and navigate to another page without a reload?

If you maintain a library with an optional React adapter, how do you test that React stays optional?

Walkthrough: https://farmjs.dev/blog/bring-your-own-renderer Source: https://github.com/farming-labs/leaf


r/reactjs • • 6d ago

Discussion Adapter over React hook forms

2 Upvotes

Those of you that use a form library in your react codebase. Do you tend to create an adapter over it or just use it directly? The reason I am asking is because I want to protect our codebase in case we need to shift to a different library at some point. It’s much easier to update the adapter in this case than it is to adjust the whole codebase (even with agents).


r/reactjs • • 7d ago

Show /r/reactjs Added 2 free neobrutalism templates. Dashboard and landing page.

Thumbnail
neobrutalism.dev
3 Upvotes

r/reactjs • • 6d ago

I built an open-source npm library to bring Undo/Redo functionality to Leaflet maps

Thumbnail reddit.com
0 Upvotes

r/reactjs • • 7d ago

Show /r/reactjs Sliding-panes React UI library (inspired by WebOS Enyo)

Thumbnail
vcarl.com
5 Upvotes

I didn't find a panes-based layout tool that I liked, so I made it! I always loved the way that WebOS panes layouts worked, so I took heavy inspiration from those.

https://github.com/vcarl/sashay https://npmx.dev/package/@vcarl/sashay