Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant