-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Out of memory on React dynamic tag #31227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe it is just the usage of |
@rgfoley |
@dragomirtitian Any usage of interface IProps {
isOpen: boolean;
tag?: keyof JSX.IntrinsicElements;
}
const foo: IProps = {
isOpen: true,
tag: 'span',
}; |
…3.* til 3.4.* ble det noe tull med typesystemet som gjorde at typesjekkinga tok evigheter. Følg med her for å se når det er løst: microsoft/TypeScript#31227, microsoft/TypeScript#30663
Seems to have been fixed in latest nightly builds. |
TypeScript Version: 3.5.0-dev.20190503
Search Terms: performance, Out of memory, 3.4
Code
Expected behavior:
Code type checks
Actual behavior:
on 3.3: OK
on 3.4, 3.5: JavaScript heap out of memory
Playground Link: link
Related Issues: #30663 (which was closed), maybe #30819 or #30973 (not sure if same root cause with either)
Note: Found while answering this SO question
The text was updated successfully, but these errors were encountered: