library · inferred from evidence
@axiomhq/react
A React SDK provided by Axiom for logging or data ingestion in browser contexts.
- @axiomhq/react does not work with vite: Uncaught ReferenceError: process is not defined
The SDK read process.env directly, which does not exist in the browser. Workaround: define process.env in vite.config via the `define` option. Fixed upstream: the SDK now wraps environment-variable access so it is safe in browser contexts (