Skip to content

Instantly share code, notes, and snippets.

@hew
hew / _readme.md
Last active Sep 29, 2021
Thoughts on standardizing REST with machines
View _readme.md

Thoughts on standardizing REST with machines

@hew
hew / reducer-with-effects.js
Created Aug 20, 2021 — forked from davidkpiano/reducer-with-effects.js
An idea for actor-model-based effects with reducers
View reducer-with-effects.js
import {
useReducerWithEffects,
// hand-wavey, but meant to be used by React to create something
// external will produce async values sent to components
createEffect
} from 'react';
function fetchUserEffect(id, parentRef) {
const controller = new AbortController();
const signal = controller.signal;
@hew
hew / _readme.md
Created Jul 6, 2021
Minimal LSP Autocomplete In Vim / NeoVIm
View _readme.md
@hew
hew / _readme.md
Created Jan 6, 2020
Delay Component
View _readme.md

delay component

@hew
hew / _readme.md
Created Jan 6, 2020
Animated Wavy
View _readme.md

animated wavy

@hew
hew / _readme.md
Last active Jan 2, 2020
Cannabis api data
View _readme.md

cannabis api sample data

@hew
hew / _readme.md
Last active Dec 5, 2019
Animated Text (React Spring)
View _readme.md

animated text (react spring)

@hew
hew / _readme.md
Last active Dec 5, 2019
Animated File Tree
View _readme.md

animated file tree (react spring)

@hew
hew / _readme.md
Created Sep 29, 2019
Git Line Endings Script
View _readme.md

git line endings script

@hew
hew / _readme.md
Last active Jun 5, 2019
Reasonml Await
View _readme.md

Reasonml await