{"repo":"vigzmv/react-promise-suspense","free":true,"listed":false,"github":"https://github.com/vigzmv/react-promise-suspense","clone":"git clone https://github.com/vigzmv/react-promise-suspense.git","description":"A React hook for resolving promises with Suspense support. <1kb bundle.","language":"TypeScript","stars":163,"topics":["react","hooks","promise","suspense","hacktoberfest"],"license":"MIT","category":"ui-components","readme_excerpt":"usePromise React hook for resolving promises with Suspense support. Inspired by fetch-suspense, but this one is not limited to fetch, usePromise works with any Promise. Install npm install react-promise-suspense --save Example - Here's an Codesandbox example of a setTimeout delayed component. - Awaiting a fetch promise:","default_branch":null,"files":null,"tree":[],"storefront":"/r/vigzmv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vigzmv/react-promise-suspense/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}