-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: vue received a Component that was made a reactive object #4367
Conversation
|
WalkthroughThe pull request introduces several changes across multiple files, primarily involving the addition of new dependencies and the implementation of a utility function for handling Vue's reactivity. A new utility function, Changes
Sequence Diagram(s)sequenceDiagram
participant A as Component
participant B as Tabs
participant C as Menu
A->>B: Pass tabs data
B->>B: Process tabs with deepToRaw
B->>A: Return processed tabs
A->>C: Pass menu data
C->>C: Process menus with deepToRaw
C->>A: Return processed menus
Poem
Recent review detailsConfiguration used: CodeRabbit UI Files ignored due to path filters (1)
Files selected for processing (8)
Files skipped from review due to trivial changes (1)
Additional comments not posted (8)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
[Vue warn]: Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with
markRaw
or usingshallowRef
instead ofref
.Type of change
Please delete options that are not relevant.
pnpm-lock.yaml
unless you introduce a new test example.Checklist
pnpm run docs:dev
command.pnpm test
.feat:
,fix:
,perf:
,docs:
, orchore:
.Summary by CodeRabbit
New Features
deepToRaw
for converting reactive objects to their raw counterparts, enhancing data handling.Enhancements
tabs.vue
andmenu.vue
components to utilize thedeepToRaw
utility for better performance and data management.menus
property in themenu.vue
component required, ensuring stricter type enforcement.Bug Fixes