Closed pleek91 closed 1 month ago
Name | Link |
---|---|
Latest commit | 31a39a4249e8a686964634ac4c4dfd6e050ead0e |
Latest deploy log | https://app.netlify.com/sites/kitbag-router/deploys/663ebbff20fd390008d0b402 |
Deploy Preview | https://deploy-preview-164--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
Adds a new utility to be used when creating routes that allows you to bind props or attributes. The first arg is the component to mount and the second is a callback which must return the props/attributes to bind to the component. This callback can be async.
I'd like to see if we can pass params to the props callback. But I'll explore that in a follow up.