You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Case
Currrently there's
useItemStateanduseItemApihooksBut I came up with an idea of a more unified and convenient hook
Solution
useItem(api, key)hook that accepts all the entities -ListApi,ItemApi,MappingApi,SelectionApi<ItemProvider api={api} />and supportuseItem(api)to solve prop-drilling and get rid of IDs