relay-nextjs
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "relay-nextjs", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Use Relay in your Next.js apps!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -61,3 +61,3 @@ `relay-nextjs` acts as a bridge between Next.js and Relay. | ||
network: createClientNetwork(), | ||
store: new Store(new RecordSource(getRleaySerializedState()?.records)), | ||
store: new Store(new RecordSource(getRelaySerializedState()?.records)), | ||
isServer: false, | ||
@@ -64,0 +64,0 @@ }); |
import type { DocumentContext } from 'next/document'; | ||
import { ComponentType } from 'react'; | ||
import React, { ComponentType } from 'react'; | ||
declare type RenderPage = DocumentContext['renderPage']; | ||
@@ -10,5 +10,5 @@ declare type RenderPageParam = NonNullable<Parameters<RenderPage>[0]>; | ||
enhance: AppEnhancer; | ||
Script: ComponentType; | ||
Script: ComponentType<React.ScriptHTMLAttributes<HTMLScriptElement>>; | ||
} | ||
export declare function createWiredDocument(): WiredDocument; | ||
export {}; |
29341