mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore: clarify deprecation message (#2337)
This commit is contained in:
parent
7d2525efdb
commit
a85865b4b8
@ -41,7 +41,7 @@ export function useStore<S extends WithReact<StoreApi<unknown>>, U>(
|
||||
): U
|
||||
|
||||
/**
|
||||
* @deprecated Use `useStoreWithEqualityFn` from 'zustand/traditional'
|
||||
* @deprecated The usage with three arguments is deprecated. Use `useStoreWithEqualityFn` from 'zustand/traditional'. The usage with one or two arguments is not deprecated.
|
||||
* https://github.com/pmndrs/zustand/discussions/1937
|
||||
*/
|
||||
export function useStore<S extends WithReact<StoreApi<unknown>>, U>(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user