惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - Franky
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
S
SegmentFault 最新的问题
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
有赞技术团队
有赞技术团队
B
Blog RSS Feed
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare Blog
博客园_首页
博客园 - 聂微东
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Introducing React Dojo - Learn React by Actually Practici...
Dayan Perez · 2026-05-07 · via DEV Community

If you've tried to learn React before, you've probably gone through the usual path: read the docs, watch a tutorial, maybe build a todo app. But when it comes to using hooks like useCallback, useDeferredValue, or useTransition in a real project, things start to feel unclear. That's exactly why I built React Dojo.

What is React Dojo?
React Dojo is a free, open-source learning platform built on one principle:

React is learned by practicing, not by reading.

Every concept on the platform comes with three things:

A clear, concise explanation
An interactive playground where you can run and modify code
Real coding exercises to test your understanding

No hand-holding. No shortcuts. Just you and the code.
→ react-dojo.vercel.app

What's covered?
React Dojo currently includes 27 concepts, 15 exercises, and 10 quizzes, organized into 6 categories:

🧠 State & Memory
useState · useReducer · useRef · useOptimistic · useActionState

🔄 Synchronization
useEffect · useLayoutEffect · useEffectEvent

⚡ Performance
useMemo · useCallback · memo

🌀 Concurrency
useTransition · useDeferredValue · Suspense · use

🧩 Composition
useContext · createPortal · lazy · useId · useFormStatus

🎯 Interviews
Classic React interview topics: Virtual DOM, HOC, Prop Drilling, Controlled vs Uncontrolled components, and more.

Exercises

Exercises range from basic to advanced:
Basic: Counter, Toggle, Color Picker, Stopwatch
Intermediate: Theme Switcher, Form Validation, Infinite Scroll
Advanced: Debounced Search, Drag & Drop, Lazy Modal
Each exercise is designed to push you to apply what you've learned — not just copy and paste.

React Dojo Excercises

Quizzes

Quizzes are organized by difficulty (Basic, Intermediate, Advanced) and cover topics like:

  • React Hooks
  • Performance Patterns
  • Context API
  • Component Lifecycle

React Dojo Quizzes

Custom Hooks [Beta]

One of the most valuable sections is the Custom Hooks library — 15 community-contributed, reusable hooks organized by category. Each one includes a description, code, and an interactive playground.

State: useLocalStorage · usePrevious · useToggle · useCounter
DOM: useMediaQuery · useClickOutside · useWindowSize · useHover · useEventListener · useIntersectionObserver · useOnlineStatus
Async: useFetch
Utility: useDebounce · useClipboard · useInterval

You can copy the code directly, try it in the playground, and use it in your own projects. It's also open to contributions if you've built a useful hook, you can add it to the library.

React Dojo Custom Hooks

React Dojo Custom Hook Details

Developer Directory [Beta]

One of the latest features is the Developer Directory — sign in with GitHub and join a community of React learners. You can:

  • Track your learning progress
  • Compare with other developers
  • Earn KYU ranks as you advance

React Dojo Developer Directory

Platform Features

⌨️ Keyboard shortcuts for fast navigation
🌐 Bilingual — available in English and Spanish
📱 Mobile-friendly — 42% of our users access from mobile
🔍 Global search across all concepts and exercises
🌙 Dark mode by default

Built with

The platform is built with Next.js, TypeScript, Drizzle ORM, Neon (PostgreSQL), and Shadcn UI.

Open Source & Community

React Dojo is fully open source. The community is active and growing, with contributors from Uruguay 🇺🇾, Argentina 🇦🇷, the US 🇺🇸, Colombia 🇨🇴, and Spain 🇪🇸. If you want to contribute whether it's a new concept, an exercise, a quiz, a bug fix, or a translation — you're more than welcome.

🐙 GitHub
💬 Discord
💛 Support on Open Collective