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

connect and useConnect #103

Description

@juanmaguitar

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions