You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a large codebase where we use anonymous exports everywhere. It's quite common in React component files, for example, where you want to apply higher-order components to the export:
This would be useful indeed. In our React project, we have something similar that @OliverJAsh described. Here's an example that compares a plain component with a wrapped one:
Plain component
F12 navigates to MyComponent:
and Find All References lists usages in App.tsx:
Wrapped component
F12 from App.tsx takes me here:
but running Find All References at this very place produces no results:
Could be useful for code like
export default 0;
.Original suggestion: #11551 (comment)
The text was updated successfully, but these errors were encountered: