Software engineer interested in solving non-trivial problems.
- 💻 Founding Engineer at Not Diamond
- 📚 Implemented a concurrent art engine in Go, 8x faster than the most used solution in the NFT space
- 📝 Check out my blog
- 📫 Reach me at:
Software engineer interested in solving non-trivial problems.
Chat persistently with ChatGPT directly from Raycast.
TypeScript 3
import { useEffect, useReducer, useMemo } from "react";
import { BehaviorSubject } from "rxjs";
export const createStateHook = <S>(init: S) => {
const state$ = new BehaviorSubject(init);