1.1.4 • Published 6 years ago
raket v1.1.4
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
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.4
6 years ago
1.0.33
6 years ago
1.0.32
6 years ago
1.0.31
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.0.95
6 years ago
0.0.92
6 years ago
0.0.91
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago