Manually call sheet.seal() to avoid memory leaks on with-styled-components example (#6107)
Manually call sheet.seal() to avoid memory leaks on with-styled-components example (#6107)

I was noticing some bad memory leak on my company's application and I ended up finding this github issue ( https://github.com/styled-components/styled-components/issues/1624 ) .

This comment ( https://github.com/styled-components/styled-components/issues/1624#issuecomment-425382979 ) caught my attention, which lead to this other issue on the repository of styled components website ( https://github.com/styled-components/styled-components-website/issues/329 )

After applying the changes on my project I noticed a huge improvement on memory consumption.

So would be nice to update the example or start a discussion on how to solve this properly 
JeromeFitz/next.js,zeit/next.js,azukaru/next.js,zeit/next.js,azukaru/next.js,BlancheXu/test,azukaru/next.js,BlancheXu/test,flybayer/next.js,zeit/next.js,BlancheXu/test,flybayer/next.js,JeromeFitz/next.js,flybayer/next.js,JeromeFitz/next.js,flybayer/next.js,azukaru/next.js,JeromeFitz/next.js