Skip to content
Source
Sign inSign up
TanStack/bling

Zack example stuff #14

OpenZackDeRose(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/14/headopened

Showing 16 changed files with 8 additions and 1 deletion (loading 12).

x
0 of 16 viewed, 16 left
2 additions and 0 deletionsexamples/astro-react/src/app/entry-server.tsxModified
View file
@@ -1,7 +1,9 @@
import { hasHandler, handleFetch$ } from '@tanstack/bling/server'
import type { APIContext } from 'astro'
+// @ts-ignore
import * as ReactDOM from 'react-dom/server.browser'
import { App } from './root'
+// @ts-ignore
import { manifest } from 'astro:ssr-manifest'
import { manifestContext } from './manifest'
​
4 additions and 1 deletionexamples/astro-react/tsconfig.jsonModified
View file
@@ -1,3 +1,6 @@
{
- "extends": "astro/tsconfigs/strictest"
+ "extends": "astro/tsconfigs/strictest",
+ "compilerOptions": {
+ "jsx": "react-jsx"
+ }
}
2 additions and 0 deletionsexamples/astro-react-router/src/app/entry-server.tsxModified
View file
@@ -4,6 +4,7 @@
addDeserializer,
} from '@tanstack/bling/server'
import type { APIContext } from 'astro'
+// @ts-ignore
import * as ReactDOM from 'react-dom/server.browser'
import { createStaticHandler } from '@remix-run/router'