Skip to content

Instantly share code, notes, and snippets.

View palcodes's full-sized avatar
🦾
it's the humans that matter

Aayush Pal palcodes

🦾
it's the humans that matter
View GitHub Profile
@cmod
cmod / hugofastsearch.md
Last active November 22, 2025 07:03 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
@AniketSK
AniketSK / Document.js
Created June 30, 2019 14:13
A higher order component to abstract away the connection to Firebase.
import React from 'react';
import firebase from 'firebase/app';
import { FormValidation } from '../../constants';
class Document extends React.Component {
constructor(props) {
super(props);
this.db = firebase.firestore();
this.db.settings({ timestampsInSnapshots: true });
this.willSubscribe = this.props.path != null;