@nova/examples
TypeScript icon, indicating that this package has built-in type declarations

1.10.3 • Public • Published

Nova examples

This package contains examples of nova components as well as related good testing approaches for them.

Nova host integration canary

When configuring a host application, this package can be used as a light-weight canary package to test the host's Nova integration.

GraphQL

Relay

import {
  NovaExampleRelayGraphQLProvider,
  NovaExampleRelayComponent,
} from "@nova/examples";
import { createRelayEnvironment } from "./myHostRelayEnvironment";

const environment = createRelayEnvironment();

const MyHostNovaIntegrationTest = () => {
  return (
    <NovaExampleRelayGraphQLProvider relayEnvironment={environment}>
      <NovaExampleRelayComponent />
    </NovaExampleRelayGraphQLProvider>
  );
};

Apollo

TODO

Eventing

TODO

Commanding

TODO

Readme

Keywords

none

Package Sidebar

Install

npm i @nova/examples

Weekly Downloads

11

Version

1.10.3

License

MIT

Unpacked Size

7.98 MB

Total Files

272

Last publish

Collaborators

  • kerrynf
  • alloy
  • kenotron_msft
  • gql-svc