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
One thing we could consider is a switch you could turn on that says "analyze performance" or "give me performance hints"
I would love some sort of feature like this! I've been noticing recently that our VSCode TypeScript experience has felt somewhat slow and have been wanting to figure out why. I found the --extendedDiagnostics flag, which is great, but pretty hard to convert in to concrete actions. I was actually googling around for "How to debug TypeScript performance" the other day, but didn't find too many useful resources.
A feature with easy to grok performance diagnostics and hints would be really cool, could perhaps include things like extraneous included files (like discussed above), perhaps some sort of list of the slowest/most-troublesome types in the codebase (don't know how realistic this is or not), etc.
Syntax for Type Re-exporting
#34750
This is a story about 2 camps of people that are dissatisfied about our import/export emit for opposite reasons!
Camp 1
e.g. Angular users relying on side-effects, but we perform import elision!
import "./component";
- is that problematic?Camp 2
e.g. Babel users, using
isolatedModules
, who might be re-exporting just types, but have no way of signaling that theexport *
has emit.Webpack ≤4.x used to warn on this, Webpack 5 will actually throw.
A while ago, we had a proposal for
import type
, much like what Flow has today.Okay, seems cool. What about this syntax?
Uh, which is a type, which is a value?
Part of the motivation also is just to t
In a clean room implementation, maybe we would've picked a syntax like
type import
ortypeonly import
.Bikeshedding aside, is this a feature we wanna do?
--removeUnusedImports
What does each camp of users do?
import type
to get around existing errors, Angular users turn off import elision.Performance
Preventing Misconfiguration
#35121
Cached Project Opens
#35113
Lazy Binding
#35120
Explorative Operations
#35114
Grace Period for Unloading Entire Projects
#35115
Notes from @uniqueiniquity
Performance Issues
Exclude globs are wrong
Navigation Issues
Loading projects faster
Avoiding loading projects in preview windows
Grace period for unloading projects
Lazy binding
The text was updated successfully, but these errors were encountered: