-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
lwcAffects the LWC language serevrAffects the LWC language serevrtype:bugCreates internal bug with Git2GusCreates internal bug with Git2Gus
Description
Summary
While troubleshooting an issue where hover was consistently throwing an error, it was discovered that the root cause was coming from components using a Navigation Mixin. Those components are not providing information as they should. The root cause appears to be that we're incorrectly saving the customComponents.json index, but I didn't get much further while troubleshooting because #time.
Steps To Reproduce:
- Remove the code fix from fix: fixed for:each error on hover #491.
- Activate the extensions in debug mode.
- Hover over a value in an HTML class, using a repo like the ebikes-lwc that uses NavigationMixin.
- See the error pop up in VS Code.
- Throw some debugger statements into lwc-data-provider.ts at the
t.classMembers.forEach(cm => {line. - Walk through until you get to a component like a NavigationMixin, that will be empty and have no data (will also throw the error).
Expected result
Components with Navigation Mixin should provide information like attribute and properties available.
Actual result
There was no className information available, causing an error downstream and not being included as helpful information.
Additional information
Example component not using NavigationMixin:

Example component using NavigationMixin:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lwcAffects the LWC language serevrAffects the LWC language serevrtype:bugCreates internal bug with Git2GusCreates internal bug with Git2Gus
