Provider setup
Children render at once. There is no loading gate, by design.
projectKeyis the environment’sek_…key from Project settings. Project-widepk_…keys are still accepted.environmentmust match the key. Sync and telemetry requests for a different environment are rejected.apiUrlis where your Gates API lives. It defaults tohttp://localhost:8790, the local dev server, so set it for any build that leaves your machine.useris declarative: pass a user when someone is signed in andnullwhen nobody is. The provider callsidentifyandresetfor you and compares by value, so an inline object is fine.
The provider reads every other prop once, when it mounts, the way a QueryClient reads its config. Only user is live. The full prop list is on GatesProvider.
Next: Read a flag.