---
stable_id: skills/skills-sh-dotneet-claude-code-marketplace-typescript-react-reviewer
type: skills
title: skills-sh-dotneet-claude-code-marketplace-typescript-react-reviewer
summary: >-
  # React 19 Patterns Reference

  ## useActionState (Forms)

  Replaces manual `isLoading`, `error`, `data` state management for form
  actions.

  ```typescript

  import { useActionState } from 'react';

  interface FormState {
    error: string | null;
    success: boolean;
  }

  async function createPost(prevState: FormState, formData: FormData):
  Promise<FormState> {
tags:
  - skills-sh
  - skills-sh-all-time
source_url: https://raw.githubusercontent.com/dotneet/claude-code-marketplace/HEAD/review-tool/skills/typescript-react-reviewer/references/react19-patterns.md
license: ""
upstream_ref: https://skills.sh/dotneet/claude-code-marketplace/typescript-react-reviewer
github_stars: 0
github_forks: 0
github_is_organization: false
retrieved_at: 2026-06-11T08:33:26.054Z
content_sha256: ccc9ea423070269e62fad0d98d6dab6ce7b244c858cac7128421c243f8ecbf85
---
