Skip to content

Instantly share code, notes, and snippets.

@marshallmurphy

marshallmurphy/block8.js Secret

Created Aug 17, 2020
Embed
What would you like to do?
// App.js
import React from 'react';
import { Router } from "@reach/router";
import Main from './Main';
import SplitThis from './SplitThis';
import './App.css';
const App = () => (
<div className="App">
<Router>
<Main default path="/" />
<SplitThis path="/split" />
</Router>
</div>
);
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment