-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Describe the bug
Hi all,
Thanks for this extremely helpful library!
I got confused when I followed the installation instructions in the README file of this repo, because it instructed me to install using npm install sveltekit-search-params@latest -D. When I did so, and then copy-pasted the demo example code into a /src/routes/+page.svelte document, all of the <pre>{JSON.stringify(params, null, 2)}</pre> snippets only produced an empty object.
However, when I installed using npm install sveltekit-search-params@next -D, the examples all worked as expected. In my package.json, the change was from "sveltekit-search-params": "^3.0.0", to "sveltekit-search-params": "^4.0.0-next.0",.
Reproduction
- Go to https://github.com/paoloricciuti/sveltekit-search-params
- Follow the install instructions
- Attempt the demo example snippets
- See empty objects output on screen
Logs
sillvva and locpd
Metadata
Metadata
Assignees
Labels
No labels