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

Updates #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Updates #1

wants to merge 5 commits into from

Conversation

idkjs
Copy link

@idkjs idkjs commented Jun 13, 2021

Hi @beizhedenglong

Thanks for sharing this project. I am using it to study functors. In the process, I have updated the repository and am sharing it with you if that is of interest to you.

Seems like everything is working ok though I have not figured out how to use the reset function in any of the functors.

For example in the StringSet example, I image calling reset should reset the list to the initial value. I can't seem to get that to work.

Calling reset on the value example doesnt do anything either. Any guidance you might provide on this would be greatly appreciated.

Also, I imagine this repo might not be necessary since hooks have been implemented as an alternative to the renderProps pattern. Does that sound correct?

Thanks for teaching by sharing you knowledge of functors through this repository.

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

Successfully merging this pull request may close these issues.

1 participant