Socket IO Study

server.js var app = require("express")(); var http = require("http").Server(app); var io = require("socket.io")(http); app.get("/", (req, res) => { ... ...

Counter 1.1 (新加了一条HP bar)

Counter 1.1: – 新加了一条HP bar; – 使用了Inline Style for the component; import React from 'react'; import ReactDOM from 'react-dom'; import { con ... ...