🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@dxos/react-appkit

Package Overview
Dependencies
Maintainers
13
Versions
1582
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/react-appkit

DXOS opinions for building React applications

0.1.31
npm
Version published
Weekly downloads
30
650%
Maintainers
13
Weekly downloads
 
Created
Source

@dxos/react-appkit

DXOS opinions for building React applications

Installation

pnpm i @dxos/react-appkit

Usage

Sentry & Telemetry

Put the following in the entrypoint of an app:

import { initializeAppTelemetry } from '@dxos/react-appkit/telemetry';

initializeAppTelemetry(namespace, new Config(Defaults()));

Config is required to provide environment variables to the initialization. It reads from the following variables:

  • DX_SENTRY_DESTINATION
  • DX_TELEMETRY_API_KEY
  • DX_IPDATA_API_KEY

To hook up navigation and click telemetry events in an app, with the react-router context:

useTelemetry({ namespace });

DXOS Resources

  • Website
  • Developer Documentation
  • Tag questions on Stack Overflow with #dxos
  • Tag us on twitter @dxos_org

Contributions

Your ideas, issues, and code are most welcome. Please take a look at our community code of conduct, the issue guide, and the PR contribution guide. If you would like to contribute to the design and implementation of DXOS, please start with the contributor's guide.

License: MIT Copyright 2022 © DXOS

FAQs

Package last updated on 17 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts