Skip to content

Conversation

@MatiasArriola
Copy link
Contributor

Related task: https://app.clickup.com/t/869agujx8

The React dependency was causing dependency resolution issues for some projects.

For example, when building a project that uses d2-app-scripts and includes @eyeseetea/d2-api, d2-app-scripts build would fail with: Found 2 versions of 'react' in yarn.lock: 16.14.0, 18.3.1.

These React features are almost no used and in case we want a react adapter in the future, it should belong to other package such as d2-api-react (while including react as a peerDep).

This is a feature almost no used and should belong to other package.
It was causing dependency resolution issues for some consumers and potentially increasing bundle size.
@bundlemon
Copy link

bundlemon bot commented Oct 24, 2025

BundleMon

No change in files bundle size

Groups updated (1)
Status Path Size Limits
Build Folder
./**/*
266.19KB (-1.8KB -0.67%) +20%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

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.

1 participant