Instantly share code, notes, and snippets.

@Ibro /Chat.jsx
Last active Nov 17, 2017

Embed
What would you like to do?
ASP.NET Core SignalR chat with React.js - https://codingblast.com/asp-net-core-signalr-chat-react
import React, { Component } from 'react';
class Chat extends Component {
constructor(props) {
super(props);
this.state = {
nick: '',
message: '',
messages: [],
hubConnection: null,
};
}
render() {
return <div>Here goes chat</div>;
}
}
export default Chat;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment