Giter Site home page Giter Site logo

react-streamdeck's Introduction

react-streamdeck

React component wrappers for Streamdeck plugin UI

NPM JavaScript Style Guide

Install

npm install --save react-streamdeck

Usage

import * as React from 'react'

import MyComponent from 'react-streamdeck'

class Example extends React.Component {
  render () {
    return (
      <MyComponent />
    )
  }
}

License

MIT © cmgriffing

react-streamdeck's People

Contributors

cmgriffing avatar dependabot[bot] avatar

Stargazers

Shugo Kawamura avatar Dariusz Porowski avatar hrko avatar Lewis Gibson avatar PostPcEra avatar  avatar Ryan Luckie avatar Sean Boult avatar Gregory Bowne avatar Mario-César avatar

Watchers

 avatar

react-streamdeck's Issues

Docs: Checkbox Example has the wrong argument/attribute

Example in the docs:

<SDCheckbox
        label="Checkbox"
        checked={checkboxState}
        onChange={value => {
          console.log('I was changed.', value)
          setState({
            checkboxState: value,
          })
        }}
      />
  1. There is no checked property, only a value
  2. the onChange callback needs something like (event, value) =>

Use polling to determine when globalSettings

We currently use a timeout to wait for the global settings to be available via the websocket connection.

We should switch to polling the interface and acting when we are "CONNECTED".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.