principle-spa-shared-client
Apply when adding or touching a feature's data-fetching code, or anything auth/session-related, in a frontend SPA that talks to a backend through a generated or hand-rolled API client. Reuse the app's existing client and session wiring instead of instantiating another one or reading the session token from a new place.
Pinned to revision 5dd552359918, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.