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).
-
Install dependencies with
npm install
-
Build project with
npm run build
-
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.