JSFiddle - React, Tailwind, and code Playground

by Dan Schultz

JavaScript

const ws = new WebSocket("ws://localhost:8070/ws", "token+ws.vertexvis.com")

ws.addEventListener("open", () => {
	ws.send("hi")
});