1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples
Lucas Feliciano ca521b36e6 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
2019-01-24 10:16:47 +01:00
..
active-class-name Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
analyze-bundles Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
basic-css Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
basic-export Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-charset Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-actionhero Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-express Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-fastify Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-hapi Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-koa Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-micro Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-nodemon Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
custom-server-polka Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
custom-server-typescript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
data-fetch Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
form-handler Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
gh-pages Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
head-elements Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
hello-world Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
layout-component Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
nested-components Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
only-client-render-external-dependencies Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
page-transitions Remove page-transitions example 2018-05-25 14:19:40 +02:00
parameterized-routing Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
pass-server-data Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
progressive-render Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
root-static-files Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
shared-modules Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
ssr-caching Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
svg-components Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
using-inferno Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
using-nerv Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
using-preact Add prettier for examples directory (#5909) 2018-12-17 17:34:32 +01:00
using-router Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
using-with-router Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-absolute-imports Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-algolia-react-instantsearch Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-amp Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-ant-design Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-ant-design-less remove decorator proposal plugin from ant example (fixes #5985) (#6002) 2019-01-07 00:11:16 +01:00
with-antd-mobile Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-aphrodite Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-apollo Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-apollo-and-redux Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-apollo-and-redux-saga Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-apollo-auth Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-app-layout Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-asset-imports Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-babel-macros Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-carbon-components Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-carlo improve with-unstated example (#5998) 2019-01-06 16:58:06 +01:00
with-cerebral Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-cloud9 Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-componentdidcatch Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-configured-preset-env Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-context-api Updated with-context-api to include an about page and also events that pass data to context provider (#6082) 2019-01-17 22:13:34 +01:00
with-cookie-auth fixed spelling not to no (#6044) 2019-01-13 22:26:21 +01:00
with-custom-babel-config Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-custom-reverse-proxy Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-cxs Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-data-prefetch Close #5607 - Bug in examples/with-data-prefetch (#6093) 2019-01-20 13:41:49 +01:00
with-docker Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-dotenv Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-draft-js Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-dynamic-app-layout Add prettier for examples directory (#5909) 2018-12-17 17:34:32 +01:00
with-dynamic-import Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-electron Add prettier for examples directory (#5909) 2018-12-17 17:34:32 +01:00
with-emotion Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-emotion-fiber Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-external-scoped-css Deprecate css examples 2018-01-31 11:19:34 +01:00
with-external-styled-jsx-sass Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-fela Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-firebase-authentication Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-firebase-cloud-messaging Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-firebase-hosting Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-firebase-hosting-and-docker ADD user to docker-compose (#6085) 2019-01-18 12:03:48 +01:00
with-firebase-hosting-and-typescript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-flow Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-freactal Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-glamor Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-glamorous Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-global-stylesheet Remove with-global-stylesheet example (#4913) 2018-08-07 18:36:28 -07:00
with-global-stylesheet-simple Remove with-global-stylesheet example (#4913) 2018-08-07 18:36:28 -07:00
with-google-analytics Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-graphql-react Add an example with graphql-react (#5984) 2019-01-09 10:24:38 +01:00
with-hashed-statics Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-higher-order-component Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-immutable-redux-wrapper Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-ioc Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-jest Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-jest-react-testing-library Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-jest-typescript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-kea Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-loading Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-markdown Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-material-ui docs: removes npx info & moves src link up (#4972) 2018-08-19 22:26:50 +02:00
with-mdx Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-mobx Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-mobx-state-tree Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-mobx-state-tree-typescript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-mocha Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-next-css Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-next-i18next Add next-i18next as the solution to integrate i18next into next.js (#5761) 2018-11-28 20:39:54 +01:00
with-next-less Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-next-page-transitions Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-next-routes Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-next-sass Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-next-seo Add next-seo example (#6088) 2019-01-19 13:07:13 +01:00
with-noscript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-now-env Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-pkg Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-polyfills Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-portals Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-prefetching Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-pretty-url-routing Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-ga Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-helmet Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-intl Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-jss [examples/react-jss] Add support for styled custom App component (#6094) 2019-01-20 14:41:49 +01:00
with-react-md Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-native-web Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-relay-network-modern Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-toolbox Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-useragent Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-uwp Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-react-with-styles Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-reasonml Add example of getInitialProps to with-reasonml (#5975) 2019-01-02 11:43:19 +01:00
with-rebass Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-recompose Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux-code-splitting Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux-observable Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux-reselect-recompose Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux-saga Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-redux-wrapper Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-reflux Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-refnux Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-relay-modern Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-relay-modern-server-express Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-rematch Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-scoped-stylesheets-and-postcss Deprecate css examples 2018-01-31 11:19:34 +01:00
with-segment-analytics With segment (#6060) 2019-01-18 20:40:23 +01:00
with-semantic-ui Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-sentry Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-shallow-routing Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-sitemap-and-robots-express-server Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-sitemap-and-robots-express-server-typescript Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-slate Add multiple Editors example (#6031) 2019-01-11 13:48:46 +01:00
with-socket.io Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-static-export Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-storybook Update with-storybook example (#6089) 2019-01-19 12:04:44 +01:00
with-strict-csp Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-strict-csp-hash Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-style-sheet Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-styled-components Manually call sheet.seal() to avoid memory leaks on with-styled-components example (#6107) 2019-01-24 10:16:47 +01:00
with-styled-jsx-plugins Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-styled-jsx-postcss Make styled-jsx configurable (#3050) 2017-10-15 19:54:57 +02:00
with-styled-jsx-scss Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-styletron Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-sw-precache Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-tailwindcss Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-ts-node Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-typescript add new nextjs typings with samples (#6102) 2019-01-23 12:37:09 +01:00
with-typestyle Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-typings-for-css-modules Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-universal-configuration-build-time Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-universal-configuration-runtime Change React version of examples to latest (#5990) 2019-01-05 12:16:07 +01:00
with-unstated improve with-unstated example (#5998) 2019-01-06 16:58:06 +01:00
with-url-object-routing Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-videojs Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-webassembly Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-webpack-bundle-analyzer Add analyze bundles example (#5332) 2018-10-01 01:24:27 +02:00
with-webpack-bundle-size-analyzer Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-yarn-workspaces Test updater script on examples folder (#5993) 2019-01-05 12:19:27 +01:00
with-zones Remove next/asset (#6046) 2019-01-14 01:32:20 +01:00