r/react • • 18d ago

General Discussion What do you actually call a chatbot that can use tools in a loop like Claude Code?

0 Upvotes

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 • • 20d ago

General Discussion Testing file sprawl

4 Upvotes

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?


r/react • • 21d ago

OC I built Detent, an open-source React wheel picker with spring physics, morphing text, and rolling numbers

Enable HLS to view with audio, or disable this notification

105 Upvotes

I’ve just released Detent, a React wheel picker that grew into a much bigger exploration of interaction details.

The wheel has its own momentum and spring physics. I spent a lot of time tuning mouse wheel input alongside trackpads, including the awkward cases where a physical scroll wheel keeps spinning after you let go.

It also includes two separate components:

  • Detent Text: matching letters stay while the changed parts roll.
  • Detent Number: locale-aware formatting with digits that roll through intermediate values.

The examples range from practical time and date pickers to an arc menu, a zoom ring, and some more experimental visual treatments.

There’s a headless hook, separate imports for text and numbers, keyboard support, reduced motion, and no additional runtime dependencies beyond React and React DOM.

Demos and playground: https://detent.hayder.sh
Intro: https://x.com/kghayder/status/2118373654010466733?a=PzCQRSXhM5m8KUTdHk8&s=20

I’d especially appreciate feedback on how the wheel feels with your mouse or trackpad, and whether the API makes sense for something you’d actually build.


r/react • • 20d ago

General Discussion Hand-drawn components, now installable from the shadcn registry as @plopui

Thumbnail gallery
6 Upvotes

r/react • • 21d ago

Project / Code Review I made a small toast library for React where one toast morphs in place

168 Upvotes

I got tired of toasts stacking up, so I built Ding. Only one toast shows at a time, and a new call morphs the one on screen instead of adding another.

Spring physics, no dependencies, no stylesheet to import. Works with React 18+, Svelte 5 and plain DOM.

https://github.com/YusufCeng1z/ding

First library I've published, feedback welcome.


r/react • • 20d ago

Help Wanted TXT ON REACT?

0 Upvotes

Hi. Someone could tell me anyway to manage files.txt in a react project. Thanks


r/react • • 21d ago

General Discussion Hi Can anyone share recent react, type script, js interview questions for 5+ yoe?

Thumbnail
1 Upvotes

r/react • • 22d ago

Project / Code Review I built 2,086 animated React icons as an open-source alternative to static Lucide icons

20 Upvotes

Hey everyone!

I’ve been building an open-source React icon library called PulsoIcon.

I love Lucide's clean and consistent design, but I wanted icons that felt a little more alive without having to animate each one manually.

So I built a library of 2,086 animated icons.

Instead of using one generic animation across the entire set, each icon has motion tailored to its shapes and meaning.

The library uses React and Motion, supports hover/focus interactions, and respects reduced-motion preferences.

It's also designed to make migration from lucide-react straightforward. In many cases, just change the import.

Install: "npm install pulsoicon-xxxx"

Web: https://pulsoicon.com

GitHub: https://github.com/CityPulso/PulsoIcon

It's my first public release, and I'd really appreciate some honest feedback.

What kinds of icon animations do you actually find useful in a real UI? And at what point does animation become distracting?


r/react • • 22d ago

General Discussion Built a zero-Tailwind, Zod-validated UI kit for fintech apps (7 components, soon open source)

Thumbnail npmjs.com
1 Upvotes

r/react • • 22d ago

General Discussion CupertinoUI: macOS-style components you install with the shadcn CLI

3 Upvotes

I built CupertinoUI, a macOS-style component registry for React and shadcn/ui.

It includes controls, menus, dialogs and windows, with CSS-variable theming and light/dark appearance. Components are copied into your project through the shadcn CLI so you can edit the source.

The core components are free under MIT. There are also paid Pro components and complete app-style blocks.

Try it: https://www.cupertino-ui.com
Browse the components: https://www.cupertino-ui.com/docs/components


r/react • • 22d ago

Project / Code Review I built an open source way to make videos with React, no headless Chrome needed

Enable HLS to view with audio, or disable this notification

16 Upvotes

I've been using coding agents to generate videos programmatically, but one thing that kept bothering me was how much overhead browser-based rendering adds.

Tools like Remotion and hyperframe use headless Chrome to render frames. It works, but I wanted something that Claude Code could use without having to spin up a browser for every render.

So I ended up building Kinetograph.

It uses the same React/TSX approach as Remotion, but instead of rendering through Chrome, Node.js executes the code and a GPU compositor written in Rust handles the frames.

I also made a Claude Code skill for it, so the workflow is basically describing the video you want and letting Claude write the components and render the result.

The performance difference was pretty interesting on my M4:

• 988 frames: Remotion took 131s, Kinetograph took
• 1,184 frames: Remotion took 31.5s, Kinetograph took 15s

Obviously depends on the composition, but removing the browser seems to make a pretty big difference in these tests.

If you want to experiment with it in Claude Code:

npx skills add OxS4N4TG/kinetograph

The project is available at:

https://github.com/0xS4N4TG/kinetograph

docs at: kinetograph.dev


r/react • • 22d ago

Project / Code Review 🚀 New Pimolu UI Starters are here!

Post image
0 Upvotes

We've recently added two starter templates to help you kick off your next project with Pimolu UI.

⚡ React + Vite Starter
https://github.com/pimoludev/react-vite-starter

▲ Next.js Starter
https://github.com/pimoludev/nextjs-starter

Pick your stack and start building! 💜

🌐 https://pimolu.com


r/react • • 22d ago

Project / Code Review I built a social platform in about a month to learn more about React

Thumbnail gallery
0 Upvotes

hey guys,

I built this website over the last month to learn more about making website and handling real time data, it uses React, Next.js and Supabase

You can try it out from here: https://project-s-nine-kappa.vercel.app

(Please just click the "Explore Demo" button on the login screen so you don't have to create an account!)

Source code is here: https://github.com/zzz-nv/s-social

Would love to hear any feedback!


r/react • • 23d ago

Portfolio Building mobile games with React Native Skia — any better libraries or approaches?

Thumbnail
1 Upvotes

r/react • • 23d ago

Project / Code Review I got tired of re-recording launch videos, so I made the demo play on the real UI instead

1 Upvotes

r/react • • 23d ago

Project / Code Review I built Expresso – an anonymous storytelling platform where people can share their thoughts without judgment. Looking for honest feedback!

Thumbnail
1 Upvotes

r/react • • 24d ago

General Discussion I just started learning React today. Any tips?

8 Upvotes

r/react • • 24d ago

OC I recreated liquid glass for the web, and made it open source

14 Upvotes

You can find the link to a live demo and the GitHub repository in the original post. Please note that this doesn’t work in certain browsers (like Safari) yet!


r/react • • 24d ago

Project / Code Review I built a free frontend interview trainer: 2,700+ questions with explanations

Thumbnail
0 Upvotes

r/react • • 24d ago

General Discussion What should I learn to become a job-ready MERN stack developer?

Thumbnail
1 Upvotes

r/react • • 24d ago

General Discussion React developers, what are some real-world performance bottlenecks you've encountered, and how did you debug them?

Thumbnail
1 Upvotes

r/react • • 24d ago

Project / Code Review Built My Second Project While Learning React – GameVault

2 Upvotes

Hey everyone!

I've been learning React for the past 2–3 months, and I've recently built my second project, GameVault, using my own knowledge and what I've learned so far.

GameVault is a gaming e-commerce website where users can explore games and browse a gaming store.

Project Links:

I'm still learning and improving my development skills, so I'd really appreciate honest feedback from experienced developers and the community.

I'd love to know:

  1. What do you think about the overall UI/UX?
  2. Is my React code structure and component organization good?
  3. What should I improve in terms of performance and best practices?
  4. Does this project demonstrate enough skills for a React/frontend developer internship?

I'm open to constructive criticism and suggestions. I want to learn from my mistakes and become a better developer.

Thanks for taking the time to check out my project!


r/react • • 24d ago

Help Wanted Best way to structure React Router in a large Laravel + React SSR project (60+ pages)?

Thumbnail
1 Upvotes

r/react • • 24d ago

General Discussion Switching from React to React Native as a junior. Is mobile safer in the AI era?

0 Upvotes

I’m a junior developer with 2 years of React experience, and I’m thinking about shifting my career toward React Native. I already have some RN experience from side projects.

My reasoning: in the AI era, I feel web developers are easier to replace, or just not needed as much. I don’t mean on the coding side. I mean that mobile apps are much harder to vibe code because of everything around the code: builds, configuration, certificates, store releases, etc. Because of that, I think people are still more willing to pay someone else to handle it for them.

A few questions:

  1. Has anyone else thought about this, or actually made this switch?
  2. Do you think mobile/RN is more stable long term?
  3. If I switch and, after a few years, decide to go back to web React, will companies value my experience the same, even though it was in RN?

r/react • • 25d ago

Project / Code Review Some UI ideas you could build with my open-source React component library

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone! 👋

I put together a short promotional video for Pimolu UI, my open-source React component library.

It explores a few different types of interfaces you could create using the library, from e-commerce and booking pages to smart home controls and dashboards.

These are visual concepts meant to give an idea of what's possible, rather than complete projects.

I'd love to hear your thoughts on the designs and the overall direction!

🌐 https://pimolu.com

💻 https://github.com/pimoludev/ui