Skip to content

Conversation

@mathuo
Copy link
Owner

@mathuo mathuo commented Aug 1, 2024

No description provided.

@mathuo mathuo linked an issue Aug 1, 2024 that may be closed by this pull request
@mathuo mathuo force-pushed the 672-vu3-injectprovides-not-propagated-to-panels branch from 7da51cc to ea5b94a Compare August 1, 2024 19:47
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 1, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ea5b94a:

Sandbox Source
customheader-dockview Configuration
dockview-app Configuration
editor-gridview Configuration
events-dockview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
lockedgroup-dockview Configuration
nativeapp-dockview Configuration
nested-dockview Configuration
rendering-dockview Configuration

vNode.appContext.provides = {
...(vNode.appContext.provides ? vNode.appContext.provides : {}),
...((parent as any).provides ? (parent as any).provides : {}),
};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are trying to modify the global context ? please don't do that...

@mathuo
Copy link
Owner Author

mathuo commented Oct 27, 2024

Taking this approach for now as is widely used by other vue library wrappers, for example in ag-gird here.

However #669 will remain open as long-term this may well be the more optimal approach

@mathuo mathuo merged commit cd4cd0f into master Oct 27, 2024
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.

vu3 inject/provides not propagated to panels

3 participants