Me cambie a react~~

This commit is contained in:
Daniel Cortes
2020-05-30 04:10:59 -04:00
parent ca1157978c
commit 094cac9310
67 changed files with 7955 additions and 7529 deletions

21
src/index.jsx Normal file
View File

@@ -0,0 +1,21 @@
import React from 'react';
import ReactDOM from 'react-dom';
import {Main, NoRoute} from "./app";
import {Search} from './components/Search';
import './styles/reset.css';
import './styles/main.css';
import {Router} from "@reach/router";
const App = () => (
<Router>
<Main path='/'/>
<Search path='/search'/>
<NoRoute default/>
</Router>
);
ReactDOM.render(
<App/>,
document.getElementById('root')
);