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
I did not see any treads about necessary to use useContext and mediator pattern like Batcher.
My point: context and Batcher are not required and all integration with react could be implemented on custom hook levels and core functionality atom/selector can be implemented in pure way without react dependencies, and especially for hooks it could be integrated with useState setter as trigger to re-render.
I did not see any treads about necessary to use
useContext
and mediator pattern likeBatcher
.My point: context and Batcher are not required and all integration with react could be implemented on custom hook levels and core functionality atom/selector can be implemented in pure way without react dependencies, and especially for hooks it could be integrated with
useState
setter as trigger to re-render.Also I played a bit and base concept works https://github.com/eLeontev/linked-store.
I'm wondering does somebody have any ideas the reason to use them?
The text was updated successfully, but these errors were encountered: