Closed stackoverfloweth closed 1 day ago
Name | Link |
---|---|
Latest commit | e2ea5ebc475abc116363e2927dc9d7d993a338cc |
Latest deploy log | https://app.netlify.com/sites/kitbag-router/deploys/66ff50fcb657a50008f9de1c |
Deploy Preview | https://deploy-preview-271--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.
This PR adds a new
id: string
field toRoute
type. This field will be useful internally, but is also part of the public API so hopefully useful to end users as well. Theid
should be unique among all routes created, regardless of if/which routers get created with the route.Currently the value of the id is created with an auto-incrementing closure function so each
id
is just a number. I chose to usestring
for the type in case we decide to pivot to something more complex in the future.