Skip to content

Conversation

@SeanCassiere
Copy link
Member

@SeanCassiere SeanCassiere commented Jan 13, 2026

The leaf packages (i.e @tanstack/react-form-devtools) being pointed at the same import for development, causes issues when building the devtools for production.

Since, the panel and plugin in React package point their imports at the apex of the root package (form-devtool), and not the /production branch, it means that whenever a production build is initiated, the export conditions for production in the form devtools core package are never hit, which in turn erases the panel from being present in production.

Closes #1986

🎯 Changes

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2026

🦋 Changeset detected

Latest commit: 856872c

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

This PR includes changesets to release 3 packages
Name Type
@tanstack/react-form-devtools Patch
@tanstack/form-devtools Patch
@tanstack/solid-form-devtools 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

@nx-cloud
Copy link

nx-cloud bot commented Jan 13, 2026

View your CI Pipeline Execution ↗ for commit 856872c

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 32s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-14 10:29:59 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 13, 2026

More templates

@tanstack/angular-form

npm i https://pkg.pr.new/@tanstack/angular-form@1989

@tanstack/form-core

npm i https://pkg.pr.new/@tanstack/form-core@1989

@tanstack/form-devtools

npm i https://pkg.pr.new/@tanstack/form-devtools@1989

@tanstack/lit-form

npm i https://pkg.pr.new/@tanstack/lit-form@1989

@tanstack/react-form

npm i https://pkg.pr.new/@tanstack/react-form@1989

@tanstack/react-form-devtools

npm i https://pkg.pr.new/@tanstack/react-form-devtools@1989

@tanstack/react-form-nextjs

npm i https://pkg.pr.new/@tanstack/react-form-nextjs@1989

@tanstack/react-form-remix

npm i https://pkg.pr.new/@tanstack/react-form-remix@1989

@tanstack/react-form-start

npm i https://pkg.pr.new/@tanstack/react-form-start@1989

@tanstack/solid-form

npm i https://pkg.pr.new/@tanstack/solid-form@1989

@tanstack/solid-form-devtools

npm i https://pkg.pr.new/@tanstack/solid-form-devtools@1989

@tanstack/svelte-form

npm i https://pkg.pr.new/@tanstack/svelte-form@1989

@tanstack/vue-form

npm i https://pkg.pr.new/@tanstack/vue-form@1989

commit: 856872c

@harry-whorlow
Copy link
Contributor

This makes sense to me, can you add a change set to the PR?

@harry-whorlow harry-whorlow marked this pull request as ready for review January 14, 2026 09:24
SeanCassiere and others added 2 commits January 14, 2026 23:27
Moved production exports of devtools to a dedicated subdirectory.
@SeanCassiere
Copy link
Member Author

@harry-whorlow should I apply these changes to the Solid devtools as well?

@harry-whorlow
Copy link
Contributor

harry-whorlow commented Jan 15, 2026

If you would that would be awesome! 🔥

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.

Production devtools are not visible

3 participants