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
Lately I have been thinking that it would be cool, if we could automatically add optimization flags. Can we detect type information in this plugin?
For example if we have simple use case like this:
functiontranslateText(): string{return'Okay!'}// Could we automatically flag this vNode with $HasTextChildren? because we know translateText always returns stringconstdiv=<div>{translateText()}</div>;
This could be used for another vNode, numeric values, strings, nulls?. Lists might be problematic because there we need to know if its keyed or not.
The text was updated successfully, but these errors were encountered:
Hi,
Lately I have been thinking that it would be cool, if we could automatically add optimization flags. Can we detect type information in this plugin?
For example if we have simple use case like this:
This could be used for another vNode, numeric values, strings, nulls?. Lists might be problematic because there we need to know if its keyed or not.
The text was updated successfully, but these errors were encountered: