- 27 Mar, 2019 11 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
-
Alexander Nanberg authored
`unfetch` ^4.0.0 is already used by `isomorphic-unfetch` so this simplifies the dependency tree a tiny bit. Release notes https://github.com/developit/unfetch/releases/tag/4.0.0 https://github.com/developit/unfetch/releases/tag/4.1.0
-
Jason Miller authored
* Add default viewport meta tag (fixes #6698) * Do not inject default viewport when rendering an AMP document * Remove redundant viewport on error page * Plumb withSideEffect() to pass through props, then use that for isAmp. * Add tests for viewport meta tag. * Fix linting * Update dedupes test
-
Joe Haddad authored
-
Joe Haddad authored
* [wip] individual page builds * Make flag experimental and remove from main bin * Do not split chunks when using shared runtime
-
Václav Nosek authored
* Make `ctx` optional in `captureException` function * Make 'release' optional when calling sentry util * Fix code style
-
Chris Cowan authored
The with-google-analytics example had the "routeChangeComplete" event listener set up in components/Page.js, but that the event listener would only be set up if the user visited a page using that component. From the example, it's not clear if google analytics can be used without making every page use a component like components/Page.js. Someone following the example may make pages that don't use components/Page.js and fail to have page views reported, or feel compelled to force a shared component into their design unnecessarily, or might even make a mistake by making multiple different components like Page.js which each add a new "routeChangeComplete" event listener, causing page views to be over-reported when the user navigates between pages using the different components. This PR moves the "routeChangeComplete" event listener into _app.js, where it's guaranteed to be executed for every page and is more obviously decoupled from page-layout-related components. This PR also fixes a React warning about the lack of an onChange handler on an input tag, and removes the unnecessary implementation of `getInitialProps` in _document.js (the default implementation is inherited if not present, there's nothing this example needs to do with `getInitialProps` specifically, and the body of the method seems to have been based on an old version of next's internal implementation). This PR also fixes the url being passed to google tag manager incorrectly. It looks like page_path should be used instead of page_location because the `url` value only has the path, not the full url with the domain name, etc. (https://developers.google.com/analytics/devguides/collection/gtagjs/pages)
-
Luis Fernando Alvarez D authored
Tests don't catch this change because `isProduction &&` is always false so I tested it with a local build
-
Tomáš Hapl authored
-
Corbin Crutchley authored
Minor changes to examples. Updating major semver updates with only `package.json` changes. I've done my best to make sure that these packages.json files all have `latest` for the `nextjs` package, `cross-env` for those with `server.js` files, etc. I also added a `package.json` to `with-dynamic-app-layout` (it was missing one previously) Made sure to test all of these packages post-upgrade to ensure maintained functionality
-
- 26 Mar, 2019 5 commits
-
-
JJ Kasper authored
* Add err.sh link and pool validation results to wait to show error until export is finished * Fix wording in amp-export-validation err.sh * Update validation error message Co-Authored-By:
ijjk <22380829+ijjk@users.noreply.github.com> * Update ways to fix text Co-Authored-By:
ijjk <22380829+ijjk@users.noreply.github.com> * Update why the error occurred wording Co-Authored-By:
ijjk <22380829+ijjk@users.noreply.github.com> * Update wording some more Co-Authored-By:
ijjk <22380829+ijjk@users.noreply.github.com>
-
JJ Kasper authored
-
Joe Haddad authored
* [WIP] Use a shared module cache * ID modules in development * Revert "ID modules in development" This reverts commit 0613d92fa2c8c7fa11a5ff5b7770d784af1cec63. * Remove context replacement * Only enable shared runtime in prod * Sort settings * Add shared runtime experimental setting * only enable shared runtime in serverless
-
Luis Fernando Alvarez D authored
Related to #6776
-
Michele Salvini authored
wrapping `startClock` in `bindActionsCreator` there's no need to pass `dispatch` in: ``` this.props.startClock(dispatch) ``` Furthermore `bindActionsCreator` is not needed because following already bind actions: ``` const mapDispatchToProps = { startClock }; ```
-
- 25 Mar, 2019 10 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
* Replace buildId well known string during output * Fix linting
-
Joe Haddad authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Kristian Heruc authored
-
Tim Neutkens authored
This reverts commit 879da368.
-
Giuseppe authored
-
Connor Davis authored
* Remove magic-string * Add back input * change if statement back * Fix typo * remomve useless import
-
- 24 Mar, 2019 4 commits
-
-
Tim Neutkens authored
More modules to follow.
-
Tim Neutkens authored
-
Tim Neutkens authored
* Simplify getDisplayName * Don’t use array for single file * Add aliases, drop htmlescape as it’s not longer in the codebase * Add correct path * Use the correct router * Remove dynamic for now * Mark as external as the modules are directly called * Add comment explaining what this does
-
Tim Neutkens authored
-
- 23 Mar, 2019 6 commits
-
-
Tim Neutkens authored
Because Typescript output is turned to commonjs for these modules currently it’s better to do this. Also convert withRouter to typescript, making it smaller.
-
Tim Neutkens authored
* Remove hoist-non-react-statics from with-router * Drop hoist-non-react-statics from package.json
-
Tim Neutkens authored
* Remove proptypes * Remove loadable capture in favor of React.createContext * Add loadable context file * Make sure we use the context value instead
-
JJ Kasper authored
* Update to have default value for renderToHTML options in dev mode * Update test
-
Tim Neutkens authored
This code is obsolete as the chunk was removed.
-
Tim Neutkens authored
Apparently `entries` is removed in webpack 5, using `chunks` instead which holds the same result.
-
- 22 Mar, 2019 3 commits
-
-
-
Joe Haddad authored
-
JJ Kasper authored
* Fix export not checking amp right for /index.amp * Add test checking hybrid amp index behavior
-
- 20 Mar, 2019 1 commit
-
-
Joe Haddad authored
-