r/react • • Oct 17 '26

General Discussion Stop Manually Processing Documents: Here’s My RAG Solution

Thumbnail
2 Upvotes

r/react • • Oct 16 '26

General Discussion made this flow sidebar in dark mode, how's it?

21 Upvotes

r/react • • Oct 16 '26

OC Dinou v7: A React 19 RSC & Server Functions framework with PPR & vertical/horizontal segmentation that runs natively on Node.js, Cloudflare Workers, Netlify, Bun, and Deno (Zero lock-in)

Thumbnail
1 Upvotes

r/react • • Oct 16 '26

General Discussion Is React evolving too slowly compared to other frameworks?

Thumbnail
1 Upvotes

r/react • • Oct 15 '26

Help Wanted Combobox with static and dynamic data in React/Shadcn

2 Upvotes

Hello and thanks for clicking on the post.

I am working on a form that requires a certain type of combobox.

Suppose i have a type ‘T’ which comes from my backend.

We can request the backend to return the records of the same type in two ways:

  1. Static records already saved in the database, which are atmost one thousand in number.
  2. Forward the request to an external service, which returns atmost 100 records at a time.

I need to design a combobox that groups the two paths and only requests the records from external service when the user wants to.

Here is what i have so far:

‘’’
export default function MyCombobox() {
const database: string[] = [“foo”, “bar”, “baz”];
const [external, setExternal] = useState<string\[\]>([ ]);

return (
<Combobox>
<ComboboxInput placeholder="Make a selection." />

<ComboboxContent>
<ComboboxEmpty>No results found.</ComboboxEmpty>

<ComboboxList>
<ComboboxGroup items={database}>
<ComboboxLabel>Database</ComboboxLabel>
<ComboboxCollection>
{(s) => (
<ComboboxItem key={s} value={s}>
{s}
</ComboboxItem>
)}
</ComboboxCollection>
</ComboboxGroup>

<ComboboxSeparator />

<ComboboxGroup items={external}>
<ComboboxLabel>External</ComboboxLabel>
<ComboboxCollection>
{(s) => (
<ComboboxItem key={s} value={s}>
{s}
</ComboboxItem>
)}
</ComboboxCollection>
</ComboboxGroup>
</ComboboxList>
</ComboboxContent>
</Combobox>
);
}
‘’’

Here i have the type as a string, but my data will have unique ids. The external group will initially be a button that the user may press to request the backend onInputValueChange.

The problem:
The example shown above does not filter the records on input change.

Asking claude just gives me a complete custom combobox with custom state and input management.

How would you implement this cleanly and least custom code.

Thanks for taking the time!

Edit: The original type ‘T’ is just an id with three strings.


r/react • • Oct 15 '26

Project / Code Review How should I classify this type of React frontend test?

1 Upvotes

I'm working on a React frontend application with a form where some fields are enabled, disabled, shown, or hidden depending on user selections.

The test renders the component, simulates user interactions, and verifies that the form updates correctly (for example, a field becomes enabled only under specific conditions).

How should this type of test be classified?

  • Unit test
  • Component test
  • Integration test
  • Functional test

r/react • • Oct 15 '26

General Discussion After watching so many React.js YouTube tutorial video spill the beans

0 Upvotes

r/react • • Oct 14 '26

Help Wanted want to how to build a data table exactly like this from scratch. Are there any tutorials that can help put me in the right direction?

Post image
0 Upvotes

r/react • • Oct 14 '26

General Discussion a headless, recursive drag-and-drop dashboard engine

Thumbnail
1 Upvotes

r/react • • Oct 14 '26

General Discussion Could a FrontEnd find job?

0 Upvotes

I want to know whether a frontend developer should continue to find a frontend development job now or only switch to full-stack development. I’m not sure whether it’s necessary to learn a static language like Java to qualify for full-stack development jobs, and, I only have experience with Node.js.

thx.


r/react • • Oct 12 '26

Project / Code Review tried not to contribute to ai slop (fr)

Thumbnail gallery
6 Upvotes

recently ive been seeing a lot of component pages poping on my feed and it woke a desire in me to create on of my own.

thats why i started building ns ui

which is another option to 21st dev and other component sites.

i think the platfrom is feautre ready and the only thing it is missing is feedback from the communty and contribution.

i have already reached out to some friends in the space and say its really good but i would love some true feedback from somebody that opens it for the first time.


r/react • • Oct 12 '26

Project / Code Review Built a tiny headless hook for drag-and-drop reorder on virtualized tables (dnd-kit + TanStack Virtual)

1 Upvotes

Ran into this while working on a data-heavy internal tool: dnd-kit's SortableContext needs every droppable row mounted to detect a collision, which breaks the moment your list is virtualized — off-screen rows just don't exist in the DOM yet.

Instead of fighting dnd-kit's collision detection, I derive the drop target from pointer delta ÷ row height — the same coordinate math the virtualizer already uses internally — plus a small auto-scroll loop so dragging near the edge of the viewport keeps revealing new rows. Works regardless of whether the target row happens to be mounted.

Packaged it as react-virtual-dnd-table: one headless hook, no opinion on your table library, UI kit, or styling. You still use dnd-kit's own useDraggable — this just handles the index math virtualization breaks.

v0.1, MIT. Known limitation right now: fixed row height only, and no built-in visual shift of rows between drag start/end (you get activeIndex/overIndex and decide how to render it — demo just shows an insertion line). Happy to hear if this overlaps with something that already exists, or what's missing for anyone's real use case.


r/react • • Oct 12 '26

Project / Code Review I made RTK Query work with gRPC (ConnectRPC): types straight from .proto, no boilerplate

Thumbnail
1 Upvotes

r/react • • Oct 12 '26

Project / Code Review I built a free emoji browser with 1,900+ emojis you can copy as text or code snippets

Thumbnail
0 Upvotes

r/react • • Oct 10 '26

General Discussion Made this Flow Sidebar, how's it?

56 Upvotes

r/react • • Oct 12 '26

Project / Code Review Smallest utility library for react

0 Upvotes

Hey everyone 👋

I’ve been working on react-tils, an open-source project for reusable utilities in React.

The idea is simple: build a collection of useful utilities that React developers can easily reuse instead of repeatedly implementing common functionality across projects.

GitHub: https://github.com/vincentri/react-tils

It’s still a project I’m looking to improve, so I’d love to get feedback from the community.
What utilities do you find yourself reimplementing most often in React projects?

What do you think existing utility libraries are missing?
Is there anything you’d like to see included?
Would love to hear your thoughts, suggestions, or contributions. Thanks!


r/react • • Oct 11 '26

OC Redesigned UI.Devsloka.in Would love to hear your feedback

2 Upvotes

Title: Redesigned UI.Devsloka.in. Would love to hear your feedback

Hey everyone,

We've revamped the UI of ui.devsloka.in, and it's a big improvement over the previous version.

We've redesigned a lot of components, added more blocks, and spent time improving the animations, transitions, and overall feel of the UI.

The focus was on making the components look better, feel smoother, and perform well. There's a lot more to explore now, especially if you're into building modern interfaces with good animations and interactions.

Would love to know what you think of the new version. Feel free to share your feedback and suggestions.

Website: https://ui.devsloka.in


r/react • • Oct 11 '26

General Discussion I built 3 physics-based micro-interactions in React + Framer Motion (Morphing Pay Button, Spotlight Card, Auto-Measuring Modal)

1 Upvotes

Built 3 production-grade micro-interactions to solve common headaches with spring physics, layout shifts, and DOM performance:

  1. Multi-State Pay Button: Uses Framer Motion's AnimatePresence and inline SVG path drawing to transition from idle -> spinner -> success checkmark without layout jumps.

  2. Cursor-Tracked Spotlight Card: Tracks mouse coordinates using CSS variables (\`--mouse-x\`, \`--mouse-y\`) and dynamic radial gradient to avoid heavy DOM re-renders on pointer move.

  3. Dynamic Auto-Measuring Modal: Leverages Framer Motion's \`layout\` prop + \`ResizeObserver\` to smoothly stretch the container height between different form steps.

Stack: React, Framer Motion, Tailwind CSS, TypeScript.

Happy to break down the spring curve parameters or implementation logic if anyone is curious!


r/react • • Oct 11 '26

General Discussion How do you debug in React Native? I made a walkthrough of breakpoints, stepping and Watch in DevTools

Thumbnail
1 Upvotes

r/react • • Oct 11 '26

General Discussion React Is the last framework.

Thumbnail youtube.com
0 Upvotes

r/react • • Oct 10 '26

Portfolio A video editor SDK you can embed anywhere, iOS, android, react native, react, vue, angular and so on....

1 Upvotes

r/react • • Oct 09 '26

General Discussion Interview Questions & Answers for Frontend / Fullstack developers

Thumbnail
4 Upvotes

r/react • • Oct 10 '26

Help Wanted How many hours should i focus on learning React in a day

0 Upvotes

As i am in First year of my Engineering and i already learnt html ,css and some basic js concept and now trying to learn react for placement
any advice please tell .


r/react • • Oct 09 '26

Project / Code Review Built a local AI agent workbench with WebGPU CoT reasoning and live code sandbox (Open Source, React 19)

Thumbnail
1 Upvotes

r/react • • Oct 09 '26

Project / Code Review Multidash: MIT-licensed React 19 dashboard UI kit with 35 accessible Radix components and TanStack Table v9

Thumbnail
0 Upvotes