Skip to content

Instantly share code, notes, and snippets.

View MinimumViablePerson's full-sized avatar

Nicolas Marcora MinimumViablePerson

View GitHub Profile
// TODO: make `pages` optional and measure the div when unspecified, this will
// allow more normal document flow and make it easier to do both mobile and
// desktop.
import {
createContext,
useCallback,
useContext,
useEffect,
useMemo,
useRef,