react-websocket:用于 websocket 通信的易于使用的 React 组件

时间:2021-07-23 21:44:28
【文件属性】:
文件名称:react-websocket:用于 websocket 通信的易于使用的 React 组件
文件大小:272KB
文件格式:ZIP
更新时间:2021-07-23 21:44:28
react websocket JavaScript React websocket react-websocket是一个易于使用的 React 组件,用于 websocket 通信。 把招工广告 这里的事情进展得很慢,因为我目前还有很多其他事情要处理,所以如果我没有回答你的问题或者 PR 有几天或几周没有审核,请不要生气。 任何有兴趣帮助它更快地发展的人都可以通过提交或审查 PR 并回答彼此的问题来提供帮助。 安装 npm install --save react-websocket 用法 import React from 'react' ; import Websocket from 'react-websocket' ; class ProductDetail extends React . Component { constructor ( props ) { super ( props ) ;
【文件预览】:
react-websocket-master
----yarn.lock(154KB)
----server.js(419B)
----webpack.config.js(758B)
----.npmignore(87B)
----example()
--------component.jsx(782B)
--------index.html(262B)
--------.gitattributes(17B)
--------requirements.txt(75B)
--------server.py(2KB)
--------README.md(136B)
--------index.jsx(155B)
--------static()
----LICENSE(1KB)
----build()
--------index.js(46KB)
--------index.map(71KB)
----README.md(2KB)
----webpack.prod.config.js(662B)
----index.jsx(3KB)
----.gitignore(46B)
----package.json(1KB)

网友评论