SSR Memory leak
Open
- Dominant language
- JavaScript
- Stars
- 814
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
I recently added this package in our project and I was told it's causing memory leak in our prod env.
After reading the code, it seems like it's the `sanitized` cache that's causing the problem.
```javascript
sanitized[s] = true;
```
Every generated html string(`s`) would be stored in this cache, and it seems to have caused our server run out of memory and keeps restarting.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.