Skip to content

Fix Vite and Tanstack Router configuration warnings#2092

Merged
fuma-nama merged 7 commits intofuma-nama:devfrom
ramonclaudio:fix/vite-config-and-router-warnings
Jul 18, 2025
Merged

Fix Vite and Tanstack Router configuration warnings#2092
fuma-nama merged 7 commits intofuma-nama:devfrom
ramonclaudio:fix/vite-config-and-router-warnings

Conversation

@ramonclaudio
Copy link
Copy Markdown
Contributor

@ramonclaudio ramonclaudio commented Jul 17, 2025

  • Adds vite-react plugin with required customViteReactPlugin: true flag
  • Configures custom NotFound component for TanStack Router
  • Updates dependencies to latest versions

Issues Resolved:

  1. TanStack Start vite-react plugin warning
  2. Missing custom 404 component warning
  3. Module resolution errors during navigation
  4. React hydration errors (useMemo null reference)

--

Before:

test-fuma

After:

fuma-test-after

Demo:

fuma-tanstack-demo

Note

This demo demonstrates the hydration errors and module resolution failures causing error flashes during client-side navigation.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jul 17, 2025

🦋 Changeset detected

Latest commit: 0fe446b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
create-fumadocs-app Minor
fumadocs-core Minor
fumadocs-ui Minor
fumadocs-openapi Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
fumadocs-react-router ⬜️ Ignored (Inspect) Jul 17, 2025 8:12pm
fumadocs-tanstack-start ⬜️ Ignored (Inspect) Jul 17, 2025 8:12pm

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 17, 2025

@rmncldyo is attempting to deploy a commit to the fumadocs Team on Vercel.

A member of the Team first needs to authorize it.

@fuma-nama
Copy link
Copy Markdown
Owner

Thanks for contributing

@fuma-nama fuma-nama merged commit 619806d into fuma-nama:dev Jul 18, 2025
3 of 4 checks passed
@ramonclaudio
Copy link
Copy Markdown
Contributor Author

Thanks for contributing

Thanks for building a great docs experience!

fuma-nama added a commit that referenced this pull request Jul 20, 2025
* Fix Vite and Tanstack Router configuration warnings (#2092)

* fix: apply prettier formatting to tanstack-start error component (#2095)

* Add `Content-Type` header & `method` option to OpenAPI JavaScript code example (#2096)

* MDX: Stabilize Vite plugin support

* fix types

* OpenAPI: fix `groupBy: route` ignoring curly braces

* Core: support custom options for error handling for `remark-image`

* MDX & MDX Remote: Support `preset: minimal` to disable Fumadocs specific defaults

* MDX: Generate index file for Vite plugin

* MDX: Handle YAML/JSON parse & validation for Vite plugin

* update test snapshots

* Version Packages (#2093)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: ignore IME composition to avoid accidental selection (#2100)

---------

Co-authored-by: Ray <[email protected]>
Co-authored-by: Nicholas <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ShikChen <[email protected]>
@ramonclaudio ramonclaudio deleted the fix/vite-config-and-router-warnings branch April 23, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants