Skip to content

Instantly share code, notes, and snippets.

View eloquentbit's full-sized avatar

Luca Peduto eloquentbit

View GitHub Profile
@eloquentbit
eloquentbit / App.js
Created May 14, 2018 05:01 — forked from sconstantinides/App.js
Sample Firebase task app
import React, { Component } from 'react';
import firebase from '@firebase/app';
import firestore from './firestore'; // Code: https://gist.github.com/sconstantinides/546a48ba183b1234f750ca6261440199
class App extends Component {
constructor(props) {
super(props);
this.state = {
userId: localStorage.getItem('userId') || '',