Skip to content

Instantly share code, notes, and snippets.

View davetoxa's full-sized avatar
🇩🇪
Ruby & Rails

Antony Cherepanov davetoxa

🇩🇪
Ruby & Rails
View GitHub Profile
import React, { Component } from 'react'
import 'whatwg-fetch'
import Post from './post'
import PostForm from './PostForm'
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000/api'
export default class App extends Component {