💅
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 1constpromiseWrapper=<T>(promise: Promise<T>): ()=>T=>{
2letstatus="pending";
3letresult: T;
45consts=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.
Uh oh!
There was an error while loading. Please reload this page.


