Home/Tags/React

#React

Collection

This aggregates CodeNodeX AI community articles and discussions related to React, covering concept explanations, tool comparisons, engineering practices, common issues, and indie hacking experience.

If you're researching React, start with high-quality long-form articles, then join post discussions for a complete understanding-to-practice path.

@admin·21 min read·Web Development

CSS Dark Mode Implementation: prefers-color-scheme and Class Switching

Dark mode isn't simply inverting colors—you have to handle system-preference following, manual switching, persistence, flash (FOUC), and image/icon adaptation. This article covers the prefers-color-scheme media query, class-switching strategy, localStorage persistence, anti-flash scripts, and a CSS-variable theme system, delivering a complete dark-mode

#React #TypeScript♥ 1860 comments
@admin·21 min read·Web Development

React Error Tracking: A Practical Sentry Integration

Users see a blank screen but you do not know about it. Sentry can catch errors before users report them. Learn frontend error tracking: Sentry SDK setup, Error Boundaries, source map uploads for production source lines, release tracking, performance monitoring, and privacy redaction.

#Next.js #React♥ 1880 comments
@admin·17 min read·Web Development

Web Accessibility Testing Toolchain

a11y does not have to rely on manual testing alone. This guide explains a four-layer workflow: linting with eslint-plugin-jsx-a11y, automated scans with axe-core and Lighthouse, E2E integration with @axe-core/playwright, manual testing with VoiceOver/NVDA, and CI enforcement.

#React #TypeScript♥ 1890 comments
@admin·18 min read·Web Development

Web Push and Service Workers: Native Browser Push Notifications

Web Push lets your site send app-like notifications even when the user has no page open. This article explains the three-part stack (VAPID keys + Push API + Service Worker), the subscribe/send/receive flow, permission-request UX, and why delivery works when the browser is not open.

#React #TypeScript♥ 1920 comments
@admin·22 min read·Web Development

React Suspense and Streaming SSR

Traditional SSR waits for all data before sending HTML, so a slow API holds back the entire page. Streaming SSR renders and sends incrementally, while Suspense shows loading first and streams in data later. Learn the mechanics, Suspense's SSR role, Next.js App Router streaming, selective hydration, and unblocked LCP.

#Next.js #React♥ 1950 comments
@admin·6 min read·Web Development

Source Code Walkthrough: Implementing LLM Streaming on the Front End

"Streaming can make or break an AI app's perceived UX: one character per second feels entirely different from waiting ten seconds for a complete response. This article explains front-end streaming from protocol to rendering: SSE/ReadableStream parsing, smooth React updates, AI SDK useChat, and interruption/error handling."

#Next.js #React♥ 410 comments
@admin·10 min read·Web Development

Accessibility (a11y) for AI Products

AI accessibility has two layers: the product must be accessible, and AI can empower accessibility. This article covers AI product a11y essentials—semantic HTML/keyboard/ARIA/dynamic content, a11y control for AI-generated UI, AI empowerment (image descriptions/speech/text simplification), and an automated + manual a11y testing workflow.

#AI #React♥ 620 comments