1.1.4 • Published 7 years ago

raket v1.1.4

Weekly downloads
27
License
MIT
Repository
github
Last release
7 years ago

raket

React websocket component with option to show a connection status indicator with custom styling.

Installation

yarn add raket

Running a Demo

To run a local demo of raket:

  • clone this repo
  • install dependencies
  • run yarn storybook.

Usage

For the most basic use provide a valid URL and handle the onEvent callback:

<Raket
    url="ws://demos.kaazing.com/echo" 
    onEvent={
        (e) => {
            //do something with the event
        }
    }/>

More examples featuring connection status indicator and custom styling can be found in stories/index.js file.

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.33

7 years ago

1.0.32

7 years ago

1.0.31

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.95

7 years ago

0.0.92

8 years ago

0.0.91

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago