Feed table

Home   »   Feed table

import React, { useState, useEffect } from 'react';
import io from 'socket.io-client';

const FeedSection = () => {
	const socket = io("ws://localhost:9000");

	socket.on('latest_quakes', data => {
	  if (data) {
	  	console.log(data);
	  }
	});

  	return (
	    

Feed

); } export default FeedSection;

Leave a Reply

Your email address will not be published.