webix graphQL

how to integrate webix and GraphQL?

Comments

  • Hi,

    Webix doesn't have its own graphQL implementation, but you are free to use any third-part library. For example Apollo-Client.

    https://github.com/apollographql/apollo-client

    const client = new ApolloClient();
    
    webix.ui({
      view: datatable, 
      autoConfig:true,
      data: client.query({
        query: gql` query TodoApp {
            todos { id text completed }
         }`,
      })
    }
    
  • awesome, check it out.
    thankyou mister,.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!