Skip to content

Instantly share code, notes, and snippets.

View clintonlunn's full-sized avatar

Clinton Lunn clintonlunn

View GitHub Profile
    graph TD
        USER_NODE[("User<br>Submits Vector Data<br>(e.g., SHP, GPKG, GeoJSON, CSV, KML, FlatGeobuf, validated GeoParquet)")]

        subgraph "Cloud Ingestion & Data Lake Pipeline"
            FB_FUNCTION["Firebase Function (TS/Python)<br>Receives Upload<br>Validates & Routes Data<br>Orchestrates Formatting"]

            subgraph "File Formatting Firebase Function (Invoked by Firebase Function)"
                direction TB
                INPUT_DATA[("Received User Data<br>(Diverse Formats as submitted)")] 
@clintonlunn
clintonlunn / helpfulUseEffects.jsx
Created October 8, 2021 17:17
Helpful useEffects Yo
import { useEffect } from 'react';
// ...
const { var1, var2, var3 } = props
useEffect(() => {
console.log('tell me what loaded first time', { var1, var2, var3 })
}, [])
useEffect(() => {
console.log('tell me what changed plz ', { var1, var2, var3 })
})