skies-react
v4.0.4
Published
Skies Framework frontend spine — platform/design-system-agnostic React primitives (AsyncState, Resource, session, paging, …) the app composes.
Maintainers
Readme
skies-react
The frontend spine of Skies —
platform- and design-system-agnostic React primitives the app composes into MVVM screens. It ships the shapes
the framework's frontend conventions (SKYFE*) steer toward, so the rules have something to steer to:
AsyncState/<Resource>— the one async-state shape (loading / error / data), never rawisPending/isError.- Session —
SessionState/toSessionState(the tri-stateloading | authenticated | anonymous) + thelib/sessionseam that pairs the bearer write with a cache reset. - Navigation —
safeBackand guarded redirect helpers (router-agnostic: expo-router ↔ TanStack). - Paging —
usePager/useAccumulatedPagesover a stable, tiebroken order. - Submit — a typed submit helper for form → command flows.
Stranger-maintainable, doctor-removable: plain React you can read, with no runtime you inherit from. The only
peer dependency is react (>=18).
npm install skies-reactimport { Resource, toSessionState, safeBack } from "skies-react";MIT © Lucas Tinoco
