Ejemplo
Import and execute act directly from react package following React 18.3.1 patch export fix
sha256:81af3caa0819f84dcc1188c2963ef15e68d33760c71c247f791c27882dd581f7
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Import and execute act directly from react package following React 18.3.1 patch export fix HOW
- Paquetes
- react 18.3.1
- Entorno
- node
- Creado
- 2026-08-16T07:54:07Z
Contrato
- assert react exports act as both named export and property on default/namespace import
- assert react.act aliases react.unstable_act for backward compatibility
- assert act synchronously executes callback and returns thenable that flushes microtask work
- assert act awaits async callback and resolves final return value
- assert older versions prior to 18.3.1 fail with missing export and TypeError when calling act from react
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9