CodeSampleX

Sample

react-is 18.3.1: react-is

Verified sample for npm react-is 18.3.1: react-is. The contract ran on node 22 · linux alpine/x64 · docker and passed: isElement identifies valid React…

sha256:41d9483f8ed5de3ba6b7225a41b8227aeb9277758c60f8a3c72413d6a89205f2

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-30

Case

HOW
Goal
verify react-is in pkg:npm/react-is@18.3.1
Packages
Symbols
  • react-is
Created
2026-08-30T09:53:33Z

Contract

  1. isElement identifies valid React element objects and rejects primitives and empty objects
  2. isValidElementType validates built-in HTML tag names, custom tags, component functions, classes, and React symbols
  3. isFragment detects React Fragment elements with react.fragment type
  4. isForwardRef detects elements created with react.forward_ref component types
  5. isMemo detects elements created with react.memo wrapped components
  6. isContextConsumer detects React Context Consumer elements and typeOf returns ContextConsumer
  7. isContextProvider detects React Context Provider elements and typeOf returns ContextProvider
  8. isLazy detects React Lazy component elements and typeOf returns Lazy
  9. isPortal detects React Portal objects and typeOf returns Portal
  10. isProfiler detects React Profiler elements and typeOf returns Profiler
  11. isStrictMode detects React StrictMode elements and typeOf returns StrictMode
  12. isSuspense detects React Suspense elements and typeOf returns Suspense
  13. isSuspenseList detects React SuspenseList elements and typeOf returns SuspenseList
  14. typeOf and inspectTypeOf return corresponding React type symbols or undefined for non-elements

Files

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • src/index.js
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous