-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
It looks like there is a memory leak issue #31
Comments
See remarkjs/react-markdown#791 for traces and discussion. |
Closed in highlightjs/highlight.js#4095! |
This comment has been minimized.
This comment has been minimized.
Please upgrade |
@wong2 no change is needed here; that is not how things work in the npm ecosystem. You need to do things. Update your things. Run |
I'm using pnpm, I think |
Clean your pnpm cache; pnpm chooses to never update packages normally, leaving users with buggy versions |
Understood. Thanks. |
Initial checklist
Affected packages and versions
7.0.0
Link to runnable example
No response
Steps to reproduce
Render long text with typewriter effect
Expected behavior
Memory usage is normal
Actual behavior
Memory leak occurs after upgrading dependencies:
"react-dom": "^18.2.0",
"react-markdown": "^9.0.0",
"react-router-dom": "^6.15.0",
"rehype-highlight": "7.0.0",
"rehype-katex": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
No memory leak dependencies:
"react-dom": "^18.2.0",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.1",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.3",
"remark-breaks": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: