Skip to content
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

100% cpu cost and lagging #17

Closed
huunghia98 opened this issue Jun 22, 2022 · 1 comment
Closed

100% cpu cost and lagging #17

huunghia98 opened this issue Jun 22, 2022 · 1 comment

Comments

@huunghia98
Copy link

In production I have issue with this html.
If use dangerouslySetInnerHTML, there is no error, but if use react-letter CPU will hold on 100% and the browser will be unresponded
Please check
error.zip
.

@mat-sz
Copy link
Owner

mat-sz commented Jun 22, 2022

Thank you for your bug report, this actually allowed me to discover a security issue within lettersanitizer.

Doing yarn upgrade/npm upgrade or removing and reinstalling react-letter should resolve the issue now. Please let me know if the problem persists.

@mat-sz mat-sz closed this as completed Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants