diff --git a/.changeset/puny-games-bow.md b/.changeset/puny-games-bow.md new file mode 100644 index 00000000..4094f93b --- /dev/null +++ b/.changeset/puny-games-bow.md @@ -0,0 +1,5 @@ +--- +'@tanstack/devtools-seo': patch +--- + +Add the first SEO devtools plugin release with React support, live SERP and social previews, JSON-LD inspection, heading and link analysis, and an overview score. The plugin now ignores devtools-owned DOM, refreshes key sections on route changes, and uses a more balanced overall health weighting. diff --git a/examples/react/basic/index.html b/examples/react/basic/index.html index b63b73f6..e91aa16b 100644 --- a/examples/react/basic/index.html +++ b/examples/react/basic/index.html @@ -33,11 +33,23 @@ content="A basic example of using TanStack Devtools with React." /> + + + A basic example of using TanStack Devtools with React. +
diff --git a/examples/react/basic/src/setup.tsx b/examples/react/basic/src/setup.tsx index a2839d99..d2d3b877 100644 --- a/examples/react/basic/src/setup.tsx +++ b/examples/react/basic/src/setup.tsx @@ -1,6 +1,4 @@ -import { ReactQueryDevtoolsPanel } from '@tanstack/react-query-devtools' -import { TanStackRouterDevtoolsPanel } from '@tanstack/react-router-devtools' - +import { TanStackDevtools } from '@tanstack/react-devtools' import { Link, Outlet, @@ -9,7 +7,8 @@ import { createRoute, createRouter, } from '@tanstack/react-router' -import { TanStackDevtools } from '@tanstack/react-devtools' +import { TanStackRouterDevtoolsPanel } from '@tanstack/react-router-devtools' +import { ReactQueryDevtoolsPanel } from '@tanstack/react-query-devtools' import { PackageJsonPanel } from './package-json-panel' const rootRoute = createRootRoute({ @@ -28,6 +27,7 @@ const rootRoute = createRootRoute({ ), }) + const indexRoute = createRoute({ getParentRoute: () => rootRoute, path: '/', @@ -39,6 +39,7 @@ const indexRoute = createRoute({ ) }, }) + function About() { return (
@@ -46,15 +47,18 @@ function About() {
) } + const aboutRoute = createRoute({ getParentRoute: () => rootRoute, path: '/about', component: About, }) + const routeTree = rootRoute.addChildren([indexRoute, aboutRoute]) const router = createRouter({ routeTree, }) + export default function DevtoolsExample() { return ( <> @@ -79,11 +83,6 @@ export default function DevtoolsExample() { name: 'Package.json', render: () => , }, - - /* { - name: "The actual app", - render: