solid-relay
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.14 • Public • Published

solid-relay

npm npm downloads codecov docs

SolidJS bindings for Relay

const App = () => {
  const query = createLazyLoadQuery(
    graphql`
      query AppQuery {
        viewer { login }
      }
    `,
    {}
  )
  return (
    <Show when={query()}>
      {(query) => <p>{query().viewer.login}</p>}
    </Show>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i solid-relay

Weekly Downloads

70

Version

1.0.0-beta.14

License

MIT

Unpacked Size

99.8 kB

Total Files

7

Last publish

Collaborators

  • xiniha