From a4546a8ef5cdd4d3cceed01aabbf73b6d8636c62 Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Wed, 8 Jan 2020 11:38:09 -0800 Subject: [PATCH] stub react pages structure --- src/App.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/App.js b/src/App.js index 83c03f9..76c0346 100644 --- a/src/App.js +++ b/src/App.js @@ -2,6 +2,8 @@ import React, {useState} from 'react'; import './App.scss'; import config from './config'; +import { Switch, Route } from 'react-router-dom'; + import socketIOClient from 'socket.io-client'; export const socket = socketIOClient(config.apiAddress); @@ -16,6 +18,17 @@ function App() {

React Boilerplate

{fetchData ?

{fetchData}

: <>} {socketData ?

{socketData}

: <>} + + + +

Index

+
+ + +

Game

+
+ +
); }