Closed paoloricciuti closed 1 year ago
Run & review this pull request in StackBlitz Codeflow.
Name | Link |
---|---|
Latest commit | 0b0ff6d342771ccb3f11cd12deb3a299dd78515b |
Latest deploy log | https://app.netlify.com/sites/sveltekit-search-params/deploys/6380ef5354daea000966b019 |
Deploy Preview | https://deploy-preview-4--sveltekit-search-params.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 settings.
Added the ability to pass a defaultValue to the encode and decode object.
This will allow the user to pass a default value that will be set if, on load, the query param is not present.
You can also pass a default value to the function that will be the defaultValue of the object.