react hooks for working with socketIO webSockets
npm install --save react-socketio-hooks
import * as React from 'react'
import { useMyHook } from 'react-socketio-hooks'
const Example = () => {
const example = useMyHook()
return (
<div>
{example}
</div>
)
}
MIT © GypsyDangerous
This hook is created using create-react-hook.