Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 700 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 700 Bytes

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>
  )
}