💅
coding makes my nails polish peel
Pinned Loading
-
A typescript way to use React Suspns...
A typescript way to use React Suspnse blocks with simple promises 1const promiseWrapper = <T> (promise: Promise<T>): () => T => {
2let status = "pending";
3let result: T;
45const s = promise.then(
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.