react-async-patterns
React 비동기 버그 수정
비동기 React 버그는 경합 조건, 누락된 상태 업데이트, 신뢰할 수 없는 effect를 만듭니다. 이 스킬은 더 안전한 비동기 코드를 위한 리뷰, 수정, lint 규칙을 안내합니다.
내 에이전트로 설치
이 요청을 에이전트에 복사하세요. 공식 Skill 페이지와 매니페스트가 포함되어 있습니다.
Review the Skillstore skill "react-async-patterns" from https://skillstore.io/skills/cjharmath-react-async-patterns.md and its manifest at https://skillstore.io/api/skills/cjharmath-react-async-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.에이전트는 계속해서 계획을 표시하고 보안 정책에서 요구하는 확인을 요청해야 합니다.
에이전트가 읽기 쉬운 리소스
AI 에이전트, 크롤러, 스크립트가 전체 페이지 대신 정리된 컨텍스트만 필요할 때 이 링크를 사용하세요.
테스트해 보기
"react-async-patterns" 사용 중입니다. 컴포넌트가 effect에서 사용자 데이터를 로드하고 탐색 후 상태를 설정합니다.
예상 결과:
- 요청이 완료되기 전에 화면이 unmount될 때 발생하는 경합을 식별합니다.
- 상태를 설정하기 전에 취소를 권장합니다.
- 종속 데이터 렌더링 전에 오류 경로 확인을 제안합니다.
"react-async-patterns" 사용 중입니다. Zustand action이 설정 작업을 시작하고 즉시 기능 상태를 업데이트합니다.
예상 결과:
리뷰는 숨겨진 비동기 동작을 지적하고, 이에 의존하는 상태 변경 전에 설정을 await할 것을 권장합니다.
"react-async-patterns" 사용 중입니다. 리뷰어가 promise 정확성에 대한 lint 가이드를 원합니다.
예상 결과:
- 누락된 await를 위해 no-floating-promises를 권장합니다.
- require-await 및 await-thenable 검사를 추가합니다.
- 안전하지 않은 async callback에 no-misused-promises를 사용합니다.
보안 감사
안전All static findings are false positives caused by Markdown code fences, inline backticks, and illustrative React or TypeScript examples. The fetch example demonstrates AbortController cleanup in application code, and the sensitive-key finding is an Object.keys substring match. No prompt injection, data exfiltration, or auto-executing behavior was found.
위험 요인
⚙️ 외부 명령어 (40)
🌐 네트워크 접근 (1)
이 보고서 공유 및 인용
버전이 지정된 평가 보고서, 중립 배지, 임베드 카드 및 인용을 공유하세요. Skillstore는 근거를 보고하지만 이 Skill의 안전 여부를 판단하지 않습니다.
보고서 링크 복사
https://skillstore.io/skills/cjharmath-react-async-patterns/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 배지
[](https://skillstore.io/skills/cjharmath-react-async-patterns?utm_source=security_passport_badge)HTML 배지
<a href="https://skillstore.io/skills/cjharmath-react-async-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cjharmath-react-async-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>임베드 카드
<iframe src="https://skillstore.io/embed/skills/cjharmath-react-async-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>학술 인용 (APA · BibTeX · CFF)
APA 인용
CJHarmath. (2026). react-async-patterns security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cjharmath-react-async-patterns/audits/7BibTeX 인용
@techreport{cjharmath-cjharmath-react-async-patterns-2026,
author = {CJHarmath},
title = {react-async-patterns security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/cjharmath-react-async-patterns/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "react-async-patterns security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "CJHarmath"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/cjharmath-react-async-patterns/audits/7"
identifiers:
- type: other
value: "skillstore:cjharmath-react-async-patterns:audit:7"
description: "Skillstore immutable audit report identifier"
Skillstore 점수
이 점수의 이유 증거 신뢰도: 높음만들 수 있는 것
기능 코드 리뷰
React 기능이 배포되기 전에 floating promise, 누락된 await, 안전하지 않은 순서를 찾습니다.
모바일 Effect 안정화
비동기 데이터를 로드하는 React Native 화면에 cleanup 및 취소 패턴을 적용합니다.
비동기 리뷰 표준 만들기
TypeScript React 앱을 유지보수하는 팀을 위한 lint 규칙과 체크리스트 항목을 정의합니다.
이 프롬프트를 사용해 보세요
Review this React component for async bugs. Find floating promises, race conditions, and missing post-condition checks. Suggest focused fixes.
Analyze this useEffect flow. Explain where unmounts or dependency changes can race. Recommend cancellation or AbortController changes.
Inspect these Zustand actions. Identify hidden async behavior, missing awaits, and state assumptions. Propose safer action signatures.
Design an async data flow for this React feature. Decide what should be sequential, parallel, or handled by TanStack Query. Explain tradeoffs.
모범 사례
- 비동기 코드를 수동으로 리뷰하기 전에 TypeScript ESLint promise 규칙을 활성화합니다.
- 종속 action이 계속되기 전에 중요한 로드 후 상태를 검증합니다.
- 데이터를 로드하는 effect에는 AbortController 또는 취소 플래그를 사용합니다.
피하기
- promise를 반환하는 함수를 await하거나 return하거나 백그라운드 실행을 문서화하지 않고 호출하는 것.
- 종속적인 비동기 단계를 Promise.all 내부에서 실행하는 것.
- 비동기 작업을 감싸는 대신 useEffect callback을 직접 async로 만드는 것.