Skip to content

Commit a85865b

Browse files
authored
chore: clarify deprecation message (#2337)
1 parent 7d2525e commit a85865b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function useStore<S extends WithReact<StoreApi<unknown>>, U>(
4141
): U
4242

4343
/**
44-
* @deprecated Use `useStoreWithEqualityFn` from 'zustand/traditional'
44+
* @deprecated The usage with three arguments is deprecated. Use `useStoreWithEqualityFn` from 'zustand/traditional'. The usage with one or two arguments is not deprecated.
4545
* https://github.com/pmndrs/zustand/discussions/1937
4646
*/
4747
export function useStore<S extends WithReact<StoreApi<unknown>>, U>(

0 commit comments

Comments
 (0)