r/reactjs • u/Nice_Wrangler_5576 • 3h ago
Show /r/reactjs Added 2 free neobrutalism templates. Dashboard and landing page.
r/reactjs • u/Nice_Wrangler_5576 • 3h ago
r/reactjs • u/Diligent-Carry-256 • 1h ago
Hello everyone !
I'd like to share one of my projects with the community that I've built using React. The project is called HTML-Land, an interactive platform for learning HTML tags through live-rendered examples.
Demo: https://prismatic-biscochitos-032346.netlify.app/
GitHub: https://github.com/newst4rt/HTML-Land
It's my first React project, and I'd be happy to receive any feedback, suggestions, or constructive criticism.
Thank you! <3
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
r/reactjs • u/HamzaSiddiqueDev • 15h ago
React Compiler was introduced in React 19 so I want to know that how it works internally. Seeking deep research knowledge on React Compiler in simple English.
r/reactjs • u/LS70v1 • 22h ago
Primary is the main button, secondary is links and the page you are on, and tertiary is a small highlight. One skin, one font, and the contrast is already checked. Ready to use, and you can change those three colors in src/index.css.
r/reactjs • u/justicehwan • 1d ago
Hey folks,
The other day I posted my first library here and asked what was broken. You told me, so I went and fixed it. This is the update.
Quick recap: when a scrollbar pops in, everything jumps a few pixels to the left. `<MrScroll />` stops that. No reserved gutter, still the native scrollbar.
**See it in 10 seconds (live demo):** https://justicehwan.github.io/plz-mr-scroll/
One line at the root of your app, that's it:
```tsx
import { MrScroll } from "plz-mr-scroll/react";
<MrScroll />
```
**What changed in 0.2, all of it from your feedback:**
- **Modals.** Someone suggested opening and closing a modal halfway down a long page. That found real bugs with Bootstrap and MUI modals: content shifted while the modal was open, and sometimes didn't come back after closing. Fixed. Fixed headers and floating buttons stay put now too.
- **No React needed.** It always worked as plain JS, I just never wrote it down. The README now shows how to load it from a CDN with one script tag.
- **The code.** It was one 2,000-line file. It's split into modules now. Still not pretty, but better.
- **"Isn't this just scrollbar-gutter: stable?"** No. That keeps an empty strip when there's no scrollbar, so left and right padding don't match. The README says this at the very top now.
**Don't see why you'd need this?** If your first thought is "just set scrollbar-gutter", please give the live demo a minute before you scroll past. The layout shift is much easier to see there than to explain: https://justicehwan.github.io/plz-mr-scroll/
Links:
- GitHub: https://github.com/justicehwan/plz-mr-scroll
- Changelog: https://github.com/justicehwan/plz-mr-scroll/blob/main/CHANGELOG.md
- npm: https://www.npmjs.com/package/plz-mr-scroll
Still haven't tried it on a real Windows machine. If you do, I'd love to know how it goes.
P.S. I'm Korean and English isn't my first language, so sorry if anything here reads a bit off.
Thanks again!
r/reactjs • u/Square-Campaign-2238 • 1d ago
I've been using AI coding agents heavily on React and Expo/React Native codebases, and I kept running into the same problem: they ship features fast, but quietly introduce subtle runtime bugs that basic linting misses—render-phase ref mutations that break React 19.2+/Compiler, stale async races, AsyncStorage leaks, and TanStack Query cache bugs.
So I built and just open-sourced Code Verifier (v0.1.0, MIT-licensed)—a static verification engine designed to be run either from the CLI or wired directly into your IDE as an MCP server so your coding agent can verify its own code and fix issues before you review it.
How it works under the hood:
app.json, Podfile.lock drift, manifests).AI-NULL-001) and source-to-sink taint tracking (AI-TAINT-001).Example finding it caught on a real React hook (REACT-007):
Markdown
**Issue #1: [HIGH] REACT-007 - 'coordinatorRef.current' is accessed during render.**
- Location: Line 22, Col 6
- Offending Code:
> 22 | if (coordinatorRef.current === null) {
23 | coordinatorRef.current = new SessionCoordinator({
- LLM Remediation Action: Hoist the value out of the ref: `useState(() => new SessionCoordinator(...))[0]` for a stable per-instance value, or move `.current` access into Effects and event handlers.Try it in 10 seconds (no clone needed):
CLI:
Bash
npx code-verifier src/Or add it to your MCP config (Cursor, Claude Code, etc.):
JSON
{
"mcpServers": {
"code-verifier": {
"command": "npx",
"args": ["-y", "code-verifier", "mcp"]
}
}
}(By default, the MCP exposes verify_code and get_test_context*, which extracts framework info, exported contracts, and mocks so your LLM writes better unit tests.)*
GitHub: https://github.com/iniola145/Code-Verifier
It's v0.1.1—I've tested it across a couple of large internal React and Expo repos (1,800+ files), and there are 553 unit tests, but static analysis always hits weird real-world edge cases. If you run it on one of your repos and hit a false positive, I added an issue template specifically for reporting them so I can tighten the rules. Feedback and critiques are very welcome.
r/reactjs • u/Low-Calligrapher-268 • 1d ago
I've been a frontend developer for many years now - I wouldn't say I'm the utmost expert React engineer but I've held some senior titles. Anyways, I'm curious for people like me ~ do you find any real unique value add in our skillset anymore within engineering teams?
r/reactjs • u/Eggvelop • 1d ago
Hey everyone! I built this because I kept running into the same annoyance: picking an icon pack, realizing it's missing one specific icon I need, hacking together an SVG with AI, and then letting it sit in my local repo where nobody else could use it.
So I turned that workflow into Chameleon Icons — you can browse open-source and community icon packs, and if an icon is missing, generate one in the same style (either right on the site or through a free manual flow) and it gets added to the pack for everyone else too.
On the React side, I put together an MIT-licensed, zero-dependency package so you only bundle the icons you actually use[2]:
npm: https://www.npmjs.com/package/chameleonicons
Site: https://chameleonicons.com/
Quick setup with Vite (also supports Next.js/Turbopack, webpack, etc.)[1][3][4]:
Js:
// vite.config.js
import chameleon from "chameleonicons/vite";
export default { plugins: [chameleon()] };Then import any icon directly as a React component[4]:
Tsx:
import Umbrella from "~chameleon/bauhaus/umbrella";
export function Header() {
return <Umbrella className="w-5 h-5" />;
}One detail I tried to get right: on first build, it writes the exact icon versions into a chameleon.json lockfile so your UI won't unexpectedly change if the community later updates or votes in a new drawing (and npx chameleonicons sync prefetches everything for offline/CI builds)[3].
r/reactjs • u/Luna_Coder • 1d ago
As the title says...
r/reactjs • u/TkDodo23 • 3d ago
📢 Please don’t get excited, but we’ve started working on TanStack Query v6. We’ll break things, but not too many.
Feedback appreciated 🙏
r/reactjs • u/SufficientCabinet955 • 2d ago
Most hook bugs are timing bugs: two setCount(count + 1) calls that only increment once, a stale closure from an empty dependency array, a fetch race where an old response overwrites a new one. They're hard to see from the code alone.
HookViz replays real React executions statement by statement. The source line, hook list, effects queue, variables and rendered DOM all show the same moment.
- Each example is recorded from a real component under a debugger, not simulated
- 22 examples on React 19, from useState and useEffect to useOptimistic and useTransition
- Play, pause, step and seek, 0.5x to 4x speed, Guided and Expert modes
- Open source, and new examples are welcome
Live: https://hookviz.ashishtaduce.co.in
Repo: https://github.com/AshishTaduce/hookviz
The batching example is the quickest one to try. I'd like to hear which hook behaviours you'd want to see next.
r/reactjs • u/Leather_Science3054 • 3d ago
Anyone have advice on a plugin or solution to visualise the react component hierarchy in a tree? All the solutions I’ve found online are mostly not maintained anymore . Any advice?
r/reactjs • u/justicehwan • 2d ago
Hey folks,
You know when a scrollbar pops in and everything jumps a few pixels to the left? That annoyed me enough that I made a little library for it.
**See it in 10 seconds (live demo):** https://justicehwan.github.io/plz-mr-scroll/
One line at the root of your app, that's it:
```tsx
import { MrScroll } from "plz-mr-scroll/react";
<MrScroll />
```
No reserved gutter, still the native scrollbar. It just finds a spot for the scrollbar so your content stays put. It never touches your children, so it doesn't fight React over the DOM.
- GitHub (GIFs in the README): https://github.com/justicehwan/plz-mr-scroll
- npm: https://www.npmjs.com/package/plz-mr-scroll
It's my first library ever, so I honestly have no idea what I got wrong. If you have a minute, please take a look and tell me what's broken or dumb 🥲
(Also haven't tried it on a real Windows machine yet — if you do, I'd love to know how it goes.)
P.S. I'm Korean and English isn't my first language, so sorry if anything here reads a bit off.
Thanks!
r/reactjs • u/mechiland • 2d ago
Many folks miss the cohesive look and 12-step color system of Radix Themes while moving new apps to Base UI (@base-ui/react) + Tailwind CSS v4 (especially now that shadcn/ui defaults new projects to Base UI).
with AI help I built radix-shadcn to combine both worlds: Radix Themes' design language and Radix Colors, running on official shadcn/ui Base UI components and distributed as a static shadcn registry.
@radix-ui/react-* runtime dependencies: Only @radix-ui/colors is kept; interactions, ARIA, and focus are handled by @base-ui/react@1.9.0.classic, solid, soft, surface, outline, ghost variants, Radix sizes 1–4, scaling, radii, and 12-step + alpha scales mapped to shadcn semantic tokens inside @layer components (so Tailwind utilities still override cleanly).<Theme> blocks pass a local portal host via context so overlays don't lose local accent/dark mode tokens.radix-ui.com homepage showcases.Quick install in a Base UI + Tailwind v4 project:
npx shadcn@4.23.0 add https://radix-shadcn.dev/r/radix-base.jsonWould appreciate feedback on the token mapping and Base UI API ergonomics!
r/reactjs • u/Al1mov_77 • 3d ago
Built this over the last few months after getting tired of choosing between bloated runtime UI libraries and flashy demos that break in light mode or on 375px screens.
Everything in the catalog is MIT-licensed and installs straight into your repo via CLI so you own the code instead of fighting a wrapper. Besides standard primitives (tables, tabs, charts, steppers, dock, media players), I spent a lot of time writing GPU fragment shaders (refractive glass lens, fluted glass, water ripples, Bayer dithering) and canvas physics (Verlet cloth, rigid-body collisions) that still degrade cleanly when prefers-reduced-motion is enabled.
I also added a browser visual editor (Nexore Make) that exports directly to React, Vue, or HTML/CSS.
Putting the live demo and GitHub repo in the comments so the post does not get eaten by spam filters. Happy to answer questions about the WebGL setup, Tailwind v4 tokens, or CLI registry.
Demo: nexoreui.com
r/reactjs • u/Remarkable-Ad-9362 • 3d ago
Most of my time building apps has been in React and Solid, and I've run into issues with almost every form library I've tried. Either they came with JS bloat and dependency hell, they were older with a less-than-great type system, or they simply didn't do what I needed.
Eventually I found TanStack Form, which was definitely a step in the right direction, though it still had its own issues. I stuck with it for a while, until I realized: frontier models are really good now, and I could spend some time trying to build something better.
So, here's my first attempt at a form library:
https://forms.lunarhue.dev/
https://github.com/LunarHUE/forms
It currently supports React 16.8+, Solid v1, and Solid v2. The core is framework-agnostic, and I plan to add adapters for Vanilla JS, Vue, Preact, Svelte, or whatever else people want.
The philosophy behind it is simple: only ship what you use, and keep the type and state systems completely extensible so the user stays in control.
In some cases you can take that first idea almost too far. With the /mini entry, you can save a full TCP round-trip in your production bundle compared to something like TanStack Form (~13.5 kB less, in my docs the comparison is definitely cherry picked but still 🤷♂️).
More in the comments if you care:
r/reactjs • u/subas43e • 4d ago
I'm currently learning frontend development with React and Vite, and I want to make sure I'm focusing on the right tools to become job-ready.
Right now, I'm practicing plain CSS to understand layouts and styling fundamentals. However, I see almost everyone recommending Tailwind CSS or component libraries like shadcn/ui and Material UI.
At what point should a beginner move from plain CSS to Tailwind?
Do companies expect you to know Tailwind, CSS Modules, or both?
Are UI component libraries bad for learning when you're trying to build a strong portfolio?
Would love to hear what your workflow looks like in real-world projects!
r/reactjs • u/chris_abi • 4d ago
Would React with selective hydration or a framework like Astro be worth considering here? I'm wondering if using React only for the parts that actually need interactivity, while keeping the rest lightweight, could be a good balance for low-end devices. Curious what more experienced developers think about this approach.
Hey guys! I've been working on a React component library for interfaces that look like they belong on a Cyberpunk's universe. Live signal graphs, glitchy buttons & drawers and interactive maps.
It's built on UI SDK and distributed through the shadcn registry. So you don't install a package (aside from shadcn of course); the source and plain CSS go straight into your project so you can change anything.
What's in it:
Install it (React 19 with shadcn set up):
bunx --bun shadcn@latest registry add '@cyberspec-ui=https://www.cyberspec.dev/r/{name}.json'
bunx --bun shadcn@latest add /cyber /buttonWebsite, demo and docs here: cyberspec.dev
Quick video demo here: https://youtu.be/yQSZhNekK7U
Working on another theme as well, hit me up if you're curious!
Anyways, would love some feedback! 🙏 Specially with this many visual effects, components you'd want added, and whether the registry install felt smooth. Happy to answer questions about how it's built.
r/reactjs • u/Al1mov_77 • 4d ago
I have been working on NexoreUI for a while now. It started as a personal set of React and Tailwind components, and gradually grew into a small UI toolkit around React 19, Next.js 15, and Tailwind CSS v4.
The main goal was avoiding the usual trade-offs: either a heavy black-box dependency or flashy demos that break in light mode and on 375px screens. Everything uses semantic tokens, supports both themes, respects prefers-reduced-motion, and can be copied directly into your own codebase via CLI instead of living behind an opaque wrapper.
Here is what is live right now:
- 72 MIT-licensed components covering core inputs, tables, tabs, steppers, charts, commerce blocks, media players, and WebGL/canvas experiments, with a Desktop/Tablet/Mobile playground and copy-paste CLI (npx nexoreui add).
- Nexore Make (/nexoremake), a visual drag-and-drop canvas for editing spacing, borders, shadows, and motion and exporting directly to React, Vue, or HTML/CSS.
- Landing Generator (/generator, in beta), a procedural page engine that assembles structured layouts from design tokens and exports clean bundles.
- 40+ page templates (/templates) and a Project/Theme Studio (/create) that configures your palette, radius, and starter CLI setup.
Live site: https://nexoreui.com
Components: https://nexoreui.com/docs/components
GitHub: https://github.com/Al1mov77/NexoreUI
npm: https://www.npmjs.com/package/nexoreui
I just finished a large cleanup pass fixing responsive behavior, keyboard navigation, and snippet completeness across the docs. If anyone tries the CLI, Nexore Make, or the generator and runs into rough edges or accessibility issues, I would appreciate honest feedback.
Hi everyone,
I just published Dinou v10.0.2 on npm. Dinou is a full-stack React 19 framework built around native React Server Components (RSC), progressive streaming SSR, and Server Functions.
Version 10 brings a lot of improvements, bug fixes, and a few targeted breaking changes compared to v9.3.0:
_ folders: Underscore-prefixed folders (e.g. src/_drafts/) are now completely ignored by the router, bundlers, route typegen, and Server Functions—reserved strictly for WIP drafts, archived routes, or legacy code (while active helper folders like src/components/ don't need an underscore).ppr is configured strictly per segment rather than inherited down the route tree—so you can have a layout with ppr = true and a child page with ppr = false (each falling back to the global setting in dinou.config.ts)..dinou/dist1) and pre-rendered SSG/ISR/PPR cache files (.dinou/dist2) are now strictly separated from public static assets (.dinou/dist3, or .dinou/cloudflare/assets on Cloudflare Workers), alongside dedicated platform outputs (.dinou/node, .dinou/netlify/functions, etc.).For the full list of breaking changes, you can check the docs at dinou.dev—there is both a link to the GitHub CHANGELOG.md and a dedicated v9 to v10 migration guide.
Single-pass inline RSC streaming: On initial load or hard reload (for dynamic SSR, PPR resumes, and first-time ISG renders), the RSC payload is now streamed inline alongside the HTML in a single pass. This eliminates a second server round-trip for the RSC payload and avoids hydration mismatches caused by values that change per request (such as Date.now() or random IDs).
Reversible eject & uneject**:** Dinou has always been ejectable via npm run eject, and v10 adds npm run uneject so you can also revert an ejection cleanly and transactionally with a single command.
3D Caching (Horizontal, Vertical, and Temporal): Dinou lets you combine three independent caching axes—Horizontal (decoupled layout and page lifecycles), Vertical (<DinouCacheSlot> component-level Micro-ISR with targeted client refreshSlot()), and Temporal (Partial Prerendering / PPR)—so you aren't forced into an all-or-nothing choice between fully dynamic and fully static rendering.
Zero-boilerplate type-safe routing via "./dinou"**:** Instead of repeating route pattern strings with global "dinou" imports, v10 generates route-contextual "./dinou" modules per directory:
// src/blog/[slug]/page.tsx (Server Component)
import { Link, type PageProps } from "./dinou";
export default async function BlogPost({ params }: PageProps) {
// params.slug is automatically typed as string
const post = await fetchPost(params.slug);
return (
<article>
<h1>{post.title}</h1>
{/* Validated relative link without passing from="..." */}
<Link href="comments">Comments</Link>
{/* Dynamic pattern with typed params + auto encoding */}
<Link href="/blog/[slug]" params={{ slug: post.nextSlug }}>
Next Post
</Link>
</article>
);
}Multi-bundler & multi-runtime portability: Dinou v10 continues to strengthen its multi-bundler (esbuild, Rollup, and Webpack) and multi-runtime architecture (Node.js, Bun, Deno, Cloudflare Workers, Netlify Functions v2, standalone native binaries, and pure static SPA export)—so you can deploy pretty much anywhere.
Dinou has evolved continuously since its initial release, and v10 is another step toward a rock-solid, modern React 19 framework aligned with current web standards. I recommend staying on the latest version for the best reliability, performance, and feature set.
Dinou is also designed to work smoothly in AI-assisted workflows—coding agents can pick up the framework very quickly. Both the documentation site (dinou.dev, which also exposes /llms.txt and /llms-full.txt), the package README.md (engineered as a compact, single-pass technical spec), and the framework codebase itself (~150 core source files, ~190 total including compiled vendors—whether ejected or in node_modules) are easy for agents to read and reason about.
Feel free to try it out with:
npx create-dinou@latest my-appAny feedback, questions, or critique is very welcome. Thanks for reading!
r/reactjs • u/ozz_aj12 • 4d ago
chould i create a post in there ? with this
I built Orvain UI, a React (and Vue) component library with a hosted MCP server, so Cursor / Claude Code use the real component API instead of hallucinating props.
45 components are free on npm (@orvain/react, no account), there's a Figma library that matches the code 1:1, and theming is one token file.
Happy to answer questions about how the MCP side works.