General Discussion Things I didn't expect when exporting a grouped TanStack table to Excel
r/react • u/Substantial_Load_690 • 11h ago
r/react • u/zorro_mia • 22h ago
r/react • u/trickitycunt • 1d ago
I have got mocks from my design team. I need to undertake the task of implementing the mocks. What's the usual way to plan things well? Can we create component diagram, data flow etc? My aim is mocks -> architecture diagrams -> commom components/data flow mapped -> stories/tasks
Are there any examples or references that I could look up?
r/react • u/EquivalentDot8312 • 2d ago
Hello everyone, I kept running into the same work when building file inputs such as parsing documents, showing previews, handling cancellation, and waiting for files before submitting.
I’m building Texion to connect those pieces. It supports Markdown, JSON, CSV, PDF, DOCX, and image attachments, with local parsing and optional OCR for scanned PDFs.
It’s open source and MIT licensed.
Code: https://github.com/Sirily23/texion
Curious on how do other devs handle the inputs?
r/react • u/ArmNo4115 • 1d ago
r/react • u/Live-Head2724 • 2d ago
Hey everyone,
I’ve been building this scene over the last few days and wanted to share a quick preview with you all.
Here is the stack I used to put this together:
Visuals & Framework: Three.js (R3F), Blender, and Mixamo
AI Assist: MCP, Claude Opus 5.5, and Fable 5.2 (Sametime Blender MCP)
Audio: ElevenLabs
Note: The character voices in this clip are currently in Turkish, but I will be adding full English translations and voiceovers very soon!
I’m planning to share more scenes and updates as development continues. I'd love to hear your feedback or answer any questions about the workflow!
React Anatomy is a browser extension that adds an Anatomy panel to DevTools, connecting the visible page to the components React rendered.
Demo and docs: https://react-anatomy.com
You can pull the layout apart into 3D layers, click something on the page to find its component, focus on a subtree, and inspect its live props. The tree shows rendered instances, so a component used five times appears five times.
It’s a way to understand an unfamiliar layout, investigate unexpected nesting, or get a visual to help explain a change in a pull request. It can also help when an AI agent composes a React page and you want to understand the structure before taking over the code.
It works on an existing React app without adding anything to your code. Development builds give you clearer component names.
Free, MIT-licensed, and available for Chrome and Firefox. There’s an interactive example you can try without installing anything.
Where would this help in your React workflow? What would make it more useful when exploring an unfamiliar app?
r/react • u/PimoluUI • 2d ago
Hey everyone! 👋
I wanted to share Pimolu Headset, a new product page showcase created with Pimolu UI, my open-source React component library.
The idea was to explore how reusable UI components can come together to create a complete product-focused interface.
I'd love to hear your thoughts on the design and what you think could be improved!
Live demo: https://pimolu-headset.pimolu.com/
Pimolu UI: https://pimolu.com
r/react • u/mrGorynx • 3d ago
r/react • u/No_Editor9420 • 3d ago
Most users never upload a photo, so most member lists are a column of identical grey circles. I wanted every user to get a recognizable face from just their email, without hydration warnings.
The React-specific part: SVG gradients need IDs. If two avatars share an ID, the second shows the first one's colors. If the server and client invent different IDs, you get a hydration mismatch. The wrapper takes the instance suffix from `useId()`, which matches on server and client, and adds a hash of the seed and options. That's also why the floor is React 18: it's the first version with `useId`. 1.1.2 just widened the peer range to `>=18`.
import { Avatar, AvatarGroup } from '@inlaylab/opaline-react'
import { clay } from '@inlaylab/opaline/clay'
<Avatar seed={user.email} look={clay} src={user.photo} alt={user.name} />
<AvatarGroup look={clay} members={team.map((u) => u.email)} max={4} />Why you might use it: it works in Server Components, and you don't add `'use client'` (the photo fallback ships its own small client boundary). If `src` is missing or broken, the face stays. Colors are CSS variables, so dark mode doesn't re-render. The React wrapper is 854 B on top of a 1.27 kB core, with no dependencies. Code and art are MIT.
Proof: a Next App Router sample app is hydrated in Playwright. The test fails on any hydration warning and diffs the hydrated DOM against the server HTML.
Playground: https://inlaylab.github.io/Opaline/playground/
Repo: https://github.com/Inlaylab/Opaline
What would stop you from dropping this into a real app?
r/react • u/Messter_Samir • 2d ago
r/react • u/Speedware01 • 4d ago
TL;DR: https://windframe.dev/styles/stripe
Hi everyone 👋
I’ve been experimenting with generating interfaces inspired by Stripe’s design taste, combining crisp typography, generous spacing and bold gradients to make complex products feel clear and polished.
I ended up building a UI system that makes it really easy to generate interfaces using this design style when prompted, and it does so consistently. It generates both full UIs and assets that match the Stripe's design style
I also put together a template built around this style that you can use directly in your React projects as starting points.
You can access the template here
https://windframe.dev/styles/stripe
I made this a selectable style option when generating UIs on Windframe, so that when you can choose this preset style it gives your React interfaces that clean, polished look.
If you’re not familiar with Windframe, it’s an AI visual editor that lets you generate polished UI with AI, tweak it visually in a canvas, and export clean production code in React (along with HTML, and other frameworks)
Appreciate any feedback or thoughts :)
r/react • u/Hopeful-Fly-5292 • 4d ago
I sat down with Chris Villa, the creator of the puck editor.
0:00 Who is Chris Villa and what is Puck
1:36 Where the name Puck comes from
2:51 Live demo: Puck inside a headless Drupal site
5:24 MIT, and close to 3 million downloads a month
6:10 What the Puck editor actually is
7:58 The origin: design systems and the dev sprint bottleneck
10:09 The Hacker News launch
11:13 Going full time, and agents producing off brand interfaces
13:38 Puck AI, the Puck cloud and a page backend
15:21 A team of three, questioning old assumptions
16:47 Why pay for Puck AI if you can build it yourself
17:26 "What Vercel is to Next.js"
20:28 The hardest problem: multi dimensional drag and drop
24:14 Viewports, zoom, iframes, and working with dnd kit
26:49 Revenue, angel investors and fundraising
27:44 GitHub, Linear, and "I don't code much anymore"
29:24 Conductor, Boxes.dev and building the agent factory
30:31 Writing tickets is the new bottleneck
32:55 Can you test whether an interface feels right?
34:57 AI slop pull requests, and agents that reply for you
38:42 Discord, and why the community got quieter
39:21 Do we still need websites?
41:46 From 130k to 2.8 million downloads: agents are the driver
44:02 A longer tail of SaaS, each product more full stack
46:31 The dark forest and the cozy web
48:03 Build for the agents: types, CLIs and llms.txt
51:43 Where to follow Chris
r/react • u/MockShiftStudio • 4d ago
Hey everyone!
While building frontend apps, I got tired of two repetitive tasks:
So I built API Craft Pro, a lightweight, 100% local-first Chrome SidePanel extension:
The core traffic inspector, mocker, and TypeScript generator are completely free. Would love to hear your feedback!
🔗 Chrome Web Store: https://chromewebstore.google.com/detail/api-craft-pro-%E2%80%94-instant-a/amdohgdofjccadgobnalnmaphalloapm
r/react • u/I_am_your_Devthaa • 5d ago
Its a bunch of typed react Fintech components . And I will add more components depending upon ```user request```.
Suggestions , reviews and advices are appreciated
r/react • u/depressedpenguyn • 6d ago
Hi Everyone,
I recently started creating an open source project called goopUI for vuejs and Nuxt. When I created it, I wanted to make sure that this is something that could work across multiple frameworks. So now, goopUI for React is officially Alpha in Development.
Let me know what you think!
You can find the website linked here: https://goop.timmcmasters.work/
r/react • u/mohammadou1 • 5d ago
Back in 2020 I published react-brackets, a small component for tournament brackets. I shipped a few versions, got busy, and stopped touching it in 2022.
The library didn't stop, though. Four years later it was still pulling ~11,800 downloads a month, sitting at 136 stars and 65 forks, with issues piling up that I never answered. It was built on styled-components and an abandoned swipe library, only did single elimination, and its connector lines were CSS pseudo-element hacks that broke if you changed a card's size.
People were depending on something I'd walked away from. So I rebuilt it from scratch.
What v2 is:
Every common format: single and double elimination (with a grand final reset), round robin, Swiss, two-sided brackets, groups to playoffs
Headless: semantic markup with data-* attributes, so you style it with Tailwind, CSS modules, or the optional theme
Connector lines measured from your real cards: any card size, any custom match component, right-to-left layouts all just work
Actually usable on a phone: one round at a time, still drawn as a bracket, with a swipe that follows your finger
Zero runtime dependencies besides React, under 14 kB gzipped
A framework-free core (@react-brackets/core) for the logic: seeding, byes, results, standings
Getting the swipe to feel native on iOS was the hardest part. Safari animates cards on the GPU on its own clock, while the connector lines are drawn by JavaScript, so the lines kept trailing the cards by a few frames. The fix was to drive both from one clock in the same frame.
It's a ground-up rewrite, so it's a breaking change from 0.x. There's a migration guide, and the old code lives on the legacy branch.
Docs and live playground: https://react-brackets.oulabi.dev
npm i react-brackets @react-brackets/theme
If you were one of the people still using the old version: sorry for the silence, and thank you. I'd love feedback, especially on formats or use cases I haven't covered.
r/react • u/shadcnlover • 6d ago
r/react • u/ErrorZealousideal521 • 6d ago
r/react • u/mrpm0h18urr4hm4n • 7d ago
There is no settled name yet. The half that isn't the model is the agent harness - tools, loop, memory, approval rules, context assembly. Agent = model + harness; that is Databricks' formula verbatim. But a tool loop alone is a workflow. It becomes an agent when you can redirect it mid-turn and it keeps the work already done. In Claude Code, Esc stops the running tool but keeps finished work. A correction typed mid-turn lands at the next decision point. /btw asks a side question outside the history.
I built https://ecbot.dev, and the hardest call was a message that lands mid-reply. The old build cancelled the reply and started over, throwing away whatever it had done - including a tool result or a reply already half-sent. So I buffered the message and steered it into the running turn before each model call. Whatever the turn did not take got its own follow-up. It shipped with warts. It answered twice when a newer message waited for its own follow-up after a tool ran. And steering had to key on when the app saved the message, not the platform's send time, so an out-of-order redelivery never got steered back in.
The test we used on our own build, in three questions:
Does it call tools in a loop until the goal is met, or answer once?
Can you redirect it while it is working, and does it keep what it already did?
When it cannot act, does it stop or hand off, or does it guess?
Two or more yes and we called it agentic.
r/react • u/MS_Pwr_Dev • 8d ago
The last few projects I’ve worked on, I’ve implemented comprehensive testing (at least what I think is comprehensive). The problem is that I’m seeing just how many files and lines of tests it takes to be comprehensive.
I’ve been using jsdom and React Testing Library for these Vite TypeScript projects. Are there any alternatives that offer more shorthanded ways to do the same testing? One testing file per component/file seems unsustainable, but I also realize that less isn’t always more and “less” is arbitrary/subjctive.
If those are the gold standard, is there a way you organize your files that makes it more efficient/maintainable?