Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@dxos/react-appkit

Package Overview
Dependencies
19
Maintainers
13
Versions
596
Issues
File Explorer

Advanced tools

@dxos/react-appkit

DXOS opinions for building React applications

    0.1.31latest
    npm

Version published
Maintainers
13
Weekly downloads
2,145
increased by115.36%

Weekly downloads

Readme

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

Last updated on 17 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc