Skip to content

Instantly share code, notes, and snippets.


Romain Rouiller RouillerRomain

View GitHub Profile
View FbConfig.js
import firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';
// Replace this with your own config details
var config = {
apiKey: "AIzaSyBZ0iclqLM6B2ccDAZQqXO0TIhScB5K4EQ",
authDomain: "",
databaseURL: "",
projectId: "a-simple-cms",
View ClassComponent.js
import React, { Component } from 'react'
class ClassComponent extends Component {
render() {
return (
<p> My First ClassComponent </p>
View FunctionnalComponent.js
import React from 'react'
const FunctionnalComponent = (Props) => {
return (
<div className="container">
<p> Our first Functionnal Component ! </p>
export default FunctionnalComponent
You can’t perform that action at this time.