Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Relay-like GraphQL integration #83

@charypar

Description

@charypar

I'd like to start this as I feel like it'll take some time to come up with the right solution. I think we can do something similar to what Relay is advertised to do and put the results of the query in the app-state cursor, possibly a new top level key.

If my thinking about this is right, what we need to do is extend certain components with lifecycle hooks and collect their GraphQL fragments as they come into the DOM, fetching data as the full query changes. We might even be able to use the cursor to store the queries and observe the changes, collecting and fetching the query.

A good start would probably be collecting what we know about Relay and at the same time thinking about what we'd feel is the best way of doing the component data dependencies.

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