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

connect and useConnect #103

Open
juanmaguitar opened this issue Jun 15, 2020 · 0 comments
Open

connect and useConnect #103

juanmaguitar opened this issue Jun 15, 2020 · 0 comments

Comments

@juanmaguitar
Copy link
Member

Review docs and check if this can be explained better

> the docs say it still needs the connect HOC, what's the point of useConnect then?
> Good question, I'm using it without the connect HOC and its working right. I guess its maybe an error in the docs.
> By using  useConnect() you can create your own hooks that make use of the frontity state, which would not be straightforward with just using connect :slight_smile: 
For example, we are going to release a useInfiniteScroll  hook which is using useConnect internally to access the frontity state!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant