Vigia

Upgrading @nx/react from 23.x to 24.x

Comparison of the public API of @nx/react 23.3.1 and 24.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths1
Removed exports2
Changed signatures4
Removed class or interface members1
Changed class or interface members0
Newly deprecated2
Requirement changes (engines, peer dependencies)3
New exports1

Removed import paths

Removed import paths
@nx/react/mf

Removed exports

importexportkindBefore
@nx/reacthostGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>
@nx/reactremoteGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>

Changed signatures

exportBeforeAfter
@nx/react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration
@nx/react/module-federation · withModuleFederationany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/module-federation · withModuleFederationForSSRany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/plugins/with-react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration

Removed class or interface members

memberimportBefore
ReactRouterPluginOptions.typecheckTargetName@nx/react/router-pluginstring | undefined

Changed class or interface members

None detected.

Newly deprecated

export@deprecated
@nx/react/module-federation · withModuleFederationRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.
@nx/react/module-federation · withModuleFederationForSSRRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.

Requirement changes (engines, peer dependencies)

BeforeAfter
peerDependencies.express^4.21.2—
peerDependencies.@nx/module-federation23.3.1—
peerDependencies.http-proxy-middleware^3.0.7—
New exports (1)
importexportkind
@nx/react/internalapplyReactConfigfunction

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @nx/react from 23 to 24?

Between @nx/react 23.3.1 and 24.0.0, Vigia found 2 removed exports, 4 changed signatures and 1 removed or changed class or interface members.

What became deprecated in @nx/react 24?

2 exports or members are newly marked as deprecated in @nx/react 24.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@nx/react/upgrade?from=23.3.1&to=24.0.0