샘플
Differentiate React development vs production runtime contracts across NODE_ENV branching, jsxDEV stubbing, element immutability, and minified error invariant decoding
sha256:a8e74b80a92c127ce2b29ee4d261faaea5cb092cc5869188facceec927b1a737
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Differentiate React development vs production runtime contracts across NODE_ENV branching, jsxDEV stubbing, element immutability, and minified error invariant decoding HOW
- 패키지
- react 18.3.1 react-dom 18.3.1
- 환경
- node
- 생성일
- 2026-08-16T12:42:21Z
컨트랙트
- assert NODE_ENV non-production values (staging, test, undefined) strictly default to development bundles with frozen element props
- assert react/jsx-dev-runtime exports jsxDEV as undefined in production and throws TypeError when invoked by dev-compiled builds
- assert element and props immutability via Object.freeze is enforced in development but stripped in production enabling in-place mutation
- assert ReactDOMClient invariant errors format with human-readable explanations in development but compress into minified URL error codes in production
- assert SSR diagnostic warnings for client-only hooks (useLayoutEffect) log to console.error in development and are completely eliminated in production
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9