Closed pleek91 closed 2 weeks ago
Name | Link |
---|---|
Latest commit | 162ee601bf525a4cdb14bfb3c4d1a2976bda29ac |
Latest deploy log | https://app.netlify.com/sites/kitbag-router/deploys/6672f20009a64f000924014b |
Deploy Preview | https://deploy-preview-198--kitbag-router.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Description
https://github.com/kitbagjs/router/pull/164 introduced the
component
utility which allowed binding props and attrs directly to route components. But it always required suspense because even if the props getter was not async it would wrap it in an async component.This PR fixes that by only wrapping the component in an async component IF the getter returns a promise.