Steps:
- First,
npm install
- Run
npm run production
- Open
http://localhost:5000
- Take a heap snapshot and look for a
Map
related towatchDep
prop ofInMemoryCache
- Click
Unmount
button - Take a heap snapshot again and look for a
Map
related towatchDep
prop ofInMemoryCache
- There's still a record for the query, with
callback