import React, { Component } from 'react'; import './App.css'; class App extends Component { state = { streams: [] } componentDidMount() { fetch('/getStreams') .then(res => res.json()) .then(streams => this.setState({ streams })); } render() { return (

Servers

{this.state.streams.map(stream =>
{stream.StreamName} - {stream.StreamURL}
)}

Right Half

If your knees aren't green by the end of the day, you ought to seriously re-examine your life.

); } } export default App;