Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] specific of usage context api and Batcher #497

Open
eLeontev opened this issue Jul 27, 2020 · 0 comments
Open

[question] specific of usage context api and Batcher #497

eLeontev opened this issue Jul 27, 2020 · 0 comments
Labels
question Further information is requested

Comments

@eLeontev
Copy link

eLeontev commented Jul 27, 2020

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.

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?

@mondaychen mondaychen added the question Further information is requested label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants