The package `react-select` is listed as a peer dependency, but should be optional
To quote the README:
The package
react-selectis optional. It is unnecessary if you're only using the hook.
However, you can see react-select listed here as a peer dependency: https://github.com/ndom91/react-timezone-select/blob/4396e24e461489ba6797a646354a71f2bd77ece7/package.json#L50
This means that, whether or not we need react-select, it will still get installed despite not explicitly installing it ourselves. For my specific use-case, I'm only using the hook, and react-select is causing build errors for us.
Same for me. I tried it just with the hook and ended up in some errors as React Select was missing.
I'm working with pnpm which doesn't auto-install peer dependencies. What package manager are you using?
@ndom91 our team is using npm.