Skip to content

maxbrereton/react-email-memory-leak-demo

Repository files navigation

React-Email memory leak demo

This is a small demo project to show that react-email has a memory leak related to the Markdown component.

Follow the instructions below to run profiling on the sample application which will show the memory increasing over time when it should actually get released (see index.js to see how this happens).

Instructions

  1. Install dependencies with npm install

  2. Build project with npm run build

  3. Run memory profiling using npm run profile

This will then run the demo and analyse using clinic.js. You can see from the output that there is a significant memory leak.

Example screenshot of memory leak analysis

memory leak example

About

Small demo project to show react-email has memory leak

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published