useStore()
Warning
useStore is deprecated in favor of multiple specialized hooks that provide access to specific parts of the internal state.
This is hook is not part of the library’s public API since version 13. Use the specialized hooks instead. Please use: