ember-headless-form icon indicating copy to clipboard operation
ember-headless-form copied to clipboard

`@glimmer/tracking` should be removed as peerDep

Open evoactivity opened this issue 8 months ago • 1 comments

I don't have the full context of why but having this as a peer dep will break vite based apps.

@NullVoxPopuli might be able to fill in on the why.

evoactivity avatar Jun 20 '25 11:06 evoactivity

glimmer/tracking removed because it's a real package, but one we don't want to use. This comes up in embroider/vite where the presence of real packages always takes precedence over virtual packages. This is actually problematic because it can break reactivity in subtle ways, even if a dep graph is correct - allowing duplicates of dependencies, which for the glimmer internals, we don't want.

From: https://github.com/ember-cli/ember-addon-blueprint/pull/35

NullVoxPopuli avatar Jun 20 '25 12:06 NullVoxPopuli