zustand icon indicating copy to clipboard operation
zustand copied to clipboard

feat: deprecate some APIs toward v5

Open dai-shi opened this issue 1 year ago • 4 comments

This is to deprecate some features which will be removed in v5.

  • zustand/context
  • store.destory
  • create(store)

They are not often used, have better alternatives, and/or can mislead usages.

There's no plan about v5 (btw, minimal requirement will be react 18) yet, but this PR would be good to get some feedback in advance.

dai-shi avatar Oct 31 '22 13:10 dai-shi