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
Tim Neutkens 408633c1dc Remove traces of glamor (#1286)
* Remove traces of glamor

As talked about with @rauchg. Glamor takes up around 60KB of the bundle (pre-gzip). Since styled-jsx is the way to go now and we support adding glamor by the user we should remove it as dependency cause it is bundled even when not used.

Added rehydration to the example, since we did that in our code.

There is only one thing I'm not sure about and want to discuss:
what should we do with next/css. Right now I added a throw for when it is imported. I'm not sure if we should do that / some other way to notify the user it has been removed. The reasoning behind the throw is that when we would do a console.warn the user would see 'css.default.<X>' not found because we don't have the glamor dependency anymore.

* Update yarn.lock

* Remove test for styles
2017-02-26 17:58:00 +05:30
..
basic-css add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
custom-server add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
custom-server-express add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
custom-server-hapi Return a promise from getRequestHandler execution, await _serveStatic in serveStaticWithGzip, update custom-server-hapi to complete request lifecycle (#1099) 2017-02-12 23:12:32 -03:00
custom-server-koa add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
data-fetch update link prefetch syntax in examples (#1276) 2017-02-25 15:54:42 +01:00
head-elements add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
hello-world add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
layout-component add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
nested-components add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
parameterized-routing add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
progressive-render add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
shared-modules add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
ssr-caching ssr-caching: document way to configure cache key (#1133) 2017-02-14 22:01:50 +05:30
using-inferno update link prefetch syntax in examples (#1276) 2017-02-25 15:54:42 +01:00
using-preact Remove babelrc for preact example (#1194) 2017-02-17 20:03:02 -03:00
using-router Using router example improvements (#1034) 2017-02-09 22:02:01 +05:30
with-amp Now that we have react-dom as a peerDependency this import issue was fixed (#1183) 2017-02-16 19:44:43 -03:00
with-aphrodite add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-apollo update link prefetch syntax in examples (#1276) 2017-02-25 15:54:42 +01:00
with-custom-babel-config add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-cxs add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-fela add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-flow update link prefetch syntax in examples (#1276) 2017-02-25 15:54:42 +01:00
with-glamor Remove traces of glamor (#1286) 2017-02-26 17:58:00 +05:30
with-global-stylesheet Fix missing dependencies (#1232) 2017-02-21 16:40:18 +01:00
with-jest Using styled-jsx for with-jest example. (#1052) 2017-02-09 19:14:52 +05:30
with-loading add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-mobx add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-prefetching Introduce a simple prefetching solution (#957) 2017-02-15 14:22:22 +05:30
with-react-intl Add example app with React Intl (#1055) 2017-02-24 22:45:18 +01:00
with-react-md examples/with-react-md: Fixed "Cannot read property 'focus' of undefined" (#961) 2017-02-02 22:56:07 +01:00
with-redux Fix linting errors (#1197) 2017-02-18 20:12:19 +01:00
with-refnux Fix linting errors (#1235) 2017-02-21 21:52:44 +01:00
with-scoped-stylesheets-and-postcss Add example with-scoped-stylesheets-and-postcss (#1146) 2017-02-17 16:04:58 +01:00
with-styled-components add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-styled-jsx-postcss Fix with-styled-jsx-postcss example (#1147) 2017-02-15 11:57:15 +01:00
with-styletron add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-typescript TypeScript example proposal (#845) 2017-02-09 12:36:58 +01:00
with-universal-configuration add react and react dom as peer (#1024) 2017-02-08 10:11:38 +05:30
with-webpack-bundle-analyzer Fix HMR issue with webpack-stats-analyzer (#1149) 2017-02-15 21:42:48 +09:00
.babelrc Babelrc false babelrc (#1094) 2017-02-13 06:18:22 +09:00
.gitignore Remove yarn.lock from examples (#912) 2017-01-29 05:48:53 +05:30