Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 676 Bytes

File metadata and controls

24 lines (21 loc) · 676 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>;
};