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

Effects in profunctors #9

Open
cassiozen opened this issue Jul 12, 2019 · 1 comment
Open

Effects in profunctors #9

cassiozen opened this issue Jul 12, 2019 · 1 comment

Comments

@cassiozen
Copy link

Is there an appropriate way to integrate effects in a profunctor or is this a complete orthogonal concept? Example: Suppose I want to log when a value is set.

@staltz
Copy link
Owner

staltz commented Jul 13, 2019

I would say it's an orthogonal concept. useProfunctorState should give you the same type of powers that useState does, but not more. E.g. is there a way to log when a value is set, using useState hook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants