{"_id":"@aerofortress/react","_rev":"6-9a5dcb2527dbb37150104b7502758c0a","name":"@aerofortress/react","dist-tags":{"latest":"1.0.3"},"versions":{"0.5.0":{"name":"@aerofortress/react","version":"0.5.0","keywords":["react","aerofortress","mvvm","async-state","hooks"],"author":{"name":"Lucas Tinoco"},"license":"MIT","_id":"@aerofortress/react@0.5.0","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"dist":{"shasum":"0951ca8ada8ada85ae7ad0709816b7e6c1dc91a5","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-0.5.0.tgz","fileCount":5,"integrity":"sha512-MEApJ+bOgsjWAejjSZIovbGXKsSh5u1Y0OzAcTSFBEmUe1gsusbattXJ1Zirsw3uPgcYUVjGhaAMLlklg/aFbQ==","signatures":[{"sig":"MEQCICw9nNhKm2M8gk9vXjXKw7ymEv+C4ZA1J/XEwKtZacwnAiAlczendMck7bFFGcUdgnx2SC7guy2s3i+rXLlo0nxfSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99039},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4ce3b7693fc4dd1a75a3d03cea362699144395e4","scripts":{"build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"repository":{"url":"git+https://github.com/lucasrgt/aerofortress-framework.git","type":"git","directory":"frontend-sdk/packages/aerofortress-react"},"_npmVersion":"10.9.8","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react_0.5.0_1782100106189_0.4408836298600034","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@aerofortress/react","version":"0.6.0","keywords":["react","aerofortress","mvvm","async-state","hooks"],"author":{"name":"Lucas Tinoco"},"license":"MIT","_id":"@aerofortress/react@0.6.0","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"dist":{"shasum":"e7a6e98b5f7db8a5b2291da779ed3149fcaf5482","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-0.6.0.tgz","fileCount":5,"integrity":"sha512-i8f05JgSjcLWGsZgUjZ2bLvX5du2GsoTOoZdv5nAK23UEHFrFR2POWEdrdkDpMERNjcKeGTO5fwLy2oT4TC2ew==","signatures":[{"sig":"MEUCIQDAWO5ZqkoBdhtpm3AftfAfCv78HCdxnKixs3x9SpFKtwIgaBgV5vTxPSIvQ4IgHsfPo5a3iuFmn56ZoMZV4ieQJ2s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103697},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"67fd88637949b9ba79f3dcf6e1a1d0f329460b06","scripts":{"build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"repository":{"url":"git+https://github.com/lucasrgt/aerofortress-framework.git","type":"git","directory":"frontend-sdk/packages/aerofortress-react"},"_npmVersion":"10.9.8","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react_0.6.0_1782411166244_0.09707434826296413","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@aerofortress/react","version":"1.0.0","keywords":["react","aerofortress","mvvm","async-state","hooks"],"author":{"name":"Lucas Tinoco"},"license":"MIT","_id":"@aerofortress/react@1.0.0","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"dist":{"shasum":"741d682d446ac9ae566059e6d958ea4413cb2913","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-1.0.0.tgz","fileCount":34,"integrity":"sha512-bvZTLj89iaLR+y1f0aXbSyDUZyaU4Oxbs5hHpZL4B4EXjZtjS5/r+GnyapPudpFWVkkj9giizsCQv+n/U2fJNw==","signatures":[{"sig":"MEUCIQDOYHFvQpOIJJS7lODTFeXBoX3QOpprbfD0ZPfJ2wscfwIgTe52cLMr7tH+IaID4kPyJgLWmbn4sbIEw26dTYMmThQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110467},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"41c212033dbd7909454e7a084b80ab6f16b2fde9","scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js --sourcemap --external:react --external:react-dom","prepublishOnly":"npm run build"},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"repository":{"url":"git+https://github.com/lucasrgt/aerofortress-framework.git","type":"git","directory":"frontend-sdk/packages/aerofortress-react"},"_npmVersion":"10.9.8","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react_1.0.0_1784641520423_0.8121407911193526","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aerofortress/react","version":"1.0.1","keywords":["react","aerofortress","mvvm","async-state","hooks"],"author":{"name":"Lucas Tinoco"},"license":"MIT","_id":"@aerofortress/react@1.0.1","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"dist":{"shasum":"1d4d3b5c1a06b11ff5df1b6aa3383af63734a15e","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-1.0.1.tgz","fileCount":34,"integrity":"sha512-CfPBWI/iPjXRJhhp6cns9jL1qBkV9KenPp/f8eGylTTKQpr5eRQwvGoYHVZ+5qau0NbfsZ45r+azcL0uJmNMzw==","signatures":[{"sig":"MEQCIERtcL0jABXT+DQeL4hRe3/hmb6Vf2oOttNbCLnsXIjRAiAB3hOcP54b6hLHGprxNDVn22ousnf2FqIvy/W/ySHisA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110467},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"34182dd5603451241d0268301d506ad4db3450ba","scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js --sourcemap --external:react --external:react-dom","prepublishOnly":"npm run build"},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"repository":{"url":"git+https://github.com/lucasrgt/aerofortress-framework.git","type":"git","directory":"frontend-sdk/packages/aerofortress-react"},"_npmVersion":"10.9.8","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react_1.0.1_1784642421997_0.015388700557855906","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aerofortress/react","version":"1.0.2","keywords":["react","aerofortress","mvvm","async-state","hooks"],"author":{"name":"Lucas Tinoco"},"license":"MIT","_id":"@aerofortress/react@1.0.2","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"dist":{"shasum":"50e203d643d6deaf621edcb7cf52defac33f3e7f","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-1.0.2.tgz","fileCount":34,"integrity":"sha512-qwdH8jPUqddlOhvmmSGvW4bejyVD8xRa6sp2h5o0OdA8S2sWTV2VEW4uRQT9DZ6CSVC9viZGabBh/Y6s+7kh8w==","signatures":[{"sig":"MEUCIBCsRMyjzg2iB3Swy3JvcfhAiGKCMd+g0e3Qm2JuFPS8AiEAtu+8smSxnwY7zTHRt80iH90fnaAH2ElWIeFZZgYlJus=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110467},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5e9e9f4fefc34e5e4911b732c1742ba346eaa17f","scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js --sourcemap --external:react --external:react-dom","prepublishOnly":"npm run build"},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"repository":{"url":"git+https://github.com/lucasrgt/aerofortress-framework.git","type":"git","directory":"frontend-sdk/packages/aerofortress-react"},"_npmVersion":"10.9.8","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react_1.0.2_1784642702518_0.9470689505294771","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aerofortress/react","version":"1.0.3","description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","license":"MIT","author":{"name":"Lucas Tinoco"},"type":"module","repository":{"type":"git","url":"git+https://github.com/lucasrgt/aerofortress-framework.git","directory":"frontend-sdk/packages/aerofortress-react"},"homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"keywords":["react","aerofortress","mvvm","async-state","hooks"],"sideEffects":false,"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && esbuild src/index.ts --bundle --format=esm --outfile=dist/index.js --sourcemap --external:react --external:react-dom","prepublishOnly":"npm run build"},"peerDependencies":{"react":">=18"},"devDependencies":{},"_id":"@aerofortress/react@1.0.3","gitHead":"0897de2b30b02fd756add60fc9904342f41bf5c5","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-ecqjXkexYj/vqHu5QKQ5Hn3PbcNAvUFZrd0QPgOzDE7DN3BXo3hQOGptK+tAgLQ+2pqVFiCqhSw4Cu7ChMz6cg==","shasum":"20bce673d9dc3d429859a25e0748d28d4d4d8633","tarball":"https://registry.npmjs.org/@aerofortress/react/-/react-1.0.3.tgz","fileCount":34,"unpackedSize":108582,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBTVXviAh9HRP33TzCHiN+vPDFD/h6gH7VVTup3tFbXTAiBdpzJPDRtYGCoXlhrNzIhB3Cf1tvuDKq5n7e4x75DFyA=="}]},"_npmUser":{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"},"directories":{},"maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react_1.0.3_1784645619386_0.46602463387406834"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-22T03:48:26.074Z","modified":"2026-07-21T14:53:39.660Z","0.5.0":"2026-06-22T03:48:26.312Z","0.6.0":"2026-06-25T18:12:46.397Z","1.0.0":"2026-07-21T13:45:20.547Z","1.0.1":"2026-07-21T14:00:22.183Z","1.0.2":"2026-07-21T14:05:02.671Z","1.0.3":"2026-07-21T14:53:39.523Z"},"bugs":{"url":"https://github.com/lucasrgt/aerofortress-framework/issues"},"author":{"name":"Lucas Tinoco"},"license":"MIT","homepage":"https://github.com/lucasrgt/aerofortress-framework#readme","keywords":["react","aerofortress","mvvm","async-state","hooks"],"repository":{"type":"git","url":"git+https://github.com/lucasrgt/aerofortress-framework.git","directory":"frontend-sdk/packages/aerofortress-react"},"description":"AeroFortress Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.","maintainers":[{"name":"lucasrgt","email":"lucas.tinoco@hotmail.com"}],"readme":"# @aerofortress/react\n\nThe frontend **spine** of the [AeroFortress Framework](https://github.com/lucasrgt/aerofortress-framework) —\nplatform- and design-system-agnostic React primitives the app composes into MVVM screens. It ships the shapes\nthe framework's frontend conventions (`AFFE*`) steer toward, so the rules have something to steer *to*:\n\n- **`AsyncState` / `<Resource>`** — the one async-state shape (loading / error / data), never raw `isPending`/`isError`.\n- **Session** — `SessionState` / `toSessionState` (the tri-state `loading | authenticated | anonymous`) + the\n  `lib/session` seam that pairs the bearer write with a cache reset.\n- **Navigation** — `safeBack` and guarded redirect helpers (router-agnostic: expo-router ↔ TanStack).\n- **Paging** — `usePager` / `useAccumulatedPages` over a stable, tiebroken order.\n- **Submit** — a typed submit helper for form → command flows.\n\nStranger-maintainable, doctor-removable: plain React you can read, with no runtime you inherit from. The only\npeer dependency is `react` (>=18).\n\n```bash\nnpm install @aerofortress/react\n```\n\n```ts\nimport { Resource, toSessionState, safeBack } from \"@aerofortress/react\";\n```\n\nMIT © Lucas Tinoco\n","readmeFilename":"README.md"}