|
|
|
|
|
by ef4
3125 days ago
|
|
I keep seeing this misconception repeated. Both default and named exports can be rebound to new symbols locally. But that has no effect on how statically analyzable the code is. “It can’t be auto refactored” just isn’t true. If it’s true for your particular tool, file a bug. People are using a cargo cult understanding of how code analysis works. It’s not just grepping for a string. |
|
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.