3 ms·
I assure you that I know how static analysis work but how could you rename something that doesn't have any name? How could you perform "rename" refactoring on `
by krzkaczor 9y ago
I assure you that I know how static analysis work but how could you rename something that doesn't have any name? How could you perform "rename" refactoring on `export default function () {...}` since this expression is not associated with any symbol.
It's clear for me that in this case you could talk only on refactoring like "rename all default imports to:" This is different than simply renaming a symbol and I don't know IDE that supports this operation.
- deleted 9y ago[deleted]
- seniorsassycat 9y agoYour editor knows the symbol of every value referencing the default export. Try go-to-references on a default export. If your IDE doesn't support rename-references that's your IDE's deficiency - not default exports.