New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-deck-link

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-deck-link

React SDK for integrating Deck Link

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

React 16.8+ hook and components for integrating with Deck Link

yarn add react-deck-link

Usage

import { useDeckLink } from 'react-deck-link';

const OpenLink = () => {
  const { open, isError, isReady } = useDeckLink({
    token: '<GENERATED_LINK_TOKEN>',
    onSuccess: ({ job_guid, public_token }) => {
      // send public_token to server
      // persist job_guid
    },
  });

  if (isError) {
    return <div>Uh oh!</div>;
  }

  return (
    <button onClick={open} disabled={!isReady}>Connect</button>
  );
}

Documentation

Please refer to the official Deck Link docs for a more holistic understanding of Deck Link.

Contributing

This project is set up using Vite.

yarn
npx vite # start dev server

To test a local version of this library:

yarn link
cd ../dashboard
yarn link react-deck-link

Publishing

npx vite build
yarn publish

Keywords

react

FAQs

Package last updated on 14 Jul 2025

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