- 25 Aug, 2018 4 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
* Remove UNSAFE_componentWillMount * Remove UNSAFE_componentWillReceiveProps from lifecycle
-
Michael Fix authored
~I am not sure if this is a valid fix yet, but I was going to let CI run the tests for me. I'll close and look into it if the build fails.~ Let me know if this will cause issues, but I don't think it should. The React docs recommends moving `componentWillMount` logic into the constructor
-
HaNdTriX authored
* Add test of default head. * Remove duplicate next-head (followup #5026)
-
- 24 Aug, 2018 8 commits
-
-
HaNdTriX authored
This PR: * Removes dublicate `className` in: `<meta charSet="utf-8" class="next-head"/>` * Refactores head reducer Special thanks to @udanpe for reporting and @geoffRGWilliams for bringing me on the right tack!
🙌 Closes #4745, #4802 -
Tim Neutkens authored
-
HaNdTriX authored
This PR adds links to the [react-error-overlay](https://www.npmjs.com/package/react-error-overlay). This allows a developer to open a stack trace in its own editor.  Closes #4813
-
Tim Neutkens authored
* Add warning for undefined url and as coming from popstate * Use consistent url * Fix err.sh link in test * Rename `inital` => `initial`
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Jan Mühlemann authored
* update with-react-i18next supporting new _app.js * update readme to not encourage cloning of repo
-
- 23 Aug, 2018 4 commits
-
-
HaNdTriX authored
-
Tim Neutkens authored
Fixes #5008 Apparently, browser behavior is to scroll to `name="something"` too.
-
Tim Neutkens authored
* Replace uuid with nanoid Same functionality in a smaller package: https://bundlephobia.com/result?p=nanoid@1.2.1 https://bundlephobia.com/result?p=uuid@3.3.2 * Add comment
-
dengyun authored
fix: bug
🐞 
-
- 22 Aug, 2018 3 commits
-
-
HaNdTriX authored
Depends on: https://github.com/zeit/next.js/pull/4988
-
HaNdTriX authored
This plugin wasn’t in use anyway. Related: https://github.com/zeit/next.js/pull/414 Maybe we can remove the [`"strict_mode"`](https://github.com/zeit/next.js/search?q=%27use+strict%27&type=Code) statements as well.
-
HaNdTriX authored
This plugin is not in use. https://github.com/zeit/next.js/search?q=istanbul&unscoped_q=istanbul
-
- 20 Aug, 2018 4 commits
-
-
Faris Abusada authored
based on [this](https://spectrum.chat/thread/0d24d6cc-96f9-46f0-aa86-515c1b1caac9?m=MTUzNDc2MjA3MzkyMQ==) conversation
-
Tim Neutkens authored
There's an edge case @timothyis is running into, this will show exactly what files are missing. I currently can't reproduce, so this is a first step at providing better error messages
-
Leo Lamprecht authored
Previously, it was mistakenly located under @arunoda's personal account.
-
HaNdTriX authored
* Lint examples/with-apollo-and-redux-saga * Lint examples/with-apollo-auth * Lint examples/with-apollo * Lint exampels/with-google-analytics * Lint examples/with-higher-order-component * Lint examples/with-react-i18next * Lint exampels/with-redux * Lint exampels/with-relay-modern * Lint examples/with-universal-configuration-runtime * Add **/examples/**/lib/** to linter
-
- 19 Aug, 2018 1 commit
-
-
rouzbeh84 authored
FIXES: #4970 confirmed rest of instructions work so left them in, even though duplicate of guide over at Material UI. thoughts?
-
- 17 Aug, 2018 3 commits
-
-
HaNdTriX authored
The current canary version shows the following warning in development mode: ```log Warning: Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information. in script in NextScript in body in html in Document ``` This PR adds proper keys to the devFiles on the server. Related https://github.com/zeit/next.js/pull/4954
-
HaNdTriX authored
As reported by @ranyitz the links in the documentation about ['What syntactic features are transpiled? How do I change them?'](https://github.com/zeit/next.js#faq) are broken. I updated the links and the text to reflect the latest changes. Closes #4974 Related https://github.com/zeit/next.js/commit/eb74ff4bf9e3b83edee346fc0dfa99e7e7cc086c
-
HaNdTriX authored
Running the [with-jest](https://github.com/zeit/next.js/tree/canary/examples/with-jest) example results in the following error: ```log FAIL __tests__/index.test.js ● Test suite failed to run SecurityError: localStorage is not available for opaque origins at Window.get localStorage [as localStorage] (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15) at Array.forEach (<anonymous>) Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 0.943s Ran all test suites. error Command failed with exit code 1. ``` Upgrading the dependencies (jest) to the latest version helps! [More info](https://github.com/jsdom/jsdom/issues/2304) Related #4776
-
- 15 Aug, 2018 4 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
* Implement autodllplugin * Add flow-typed for autodll-webpack-plugin * Improve onClick tests * Make third test pass * Make sure DLL bundle is loaded without async * Add nonce * Fix windows DLL path
-
Giuseppe authored
Upgrade styled-jsx to v3 (major)
-
Tim Neutkens authored
-
- 14 Aug, 2018 1 commit
-
-
ǝlzlǝoq lǝᴉuɐp ツ authored
This PR factors out the inline script into an own static method; fixes #4934.
-
- 13 Aug, 2018 8 commits
-
-
Tim Neutkens authored
* Implement autodllplugin * Add flow-typed for autodll-webpack-plugin
-
Luc authored
Following https://github.com/zeit/next.js/pull/4950 Fix https://github.com/zeit/next.js/issues/4716 I'm not sure to understand this part, though : > Note: in order to programmatically change the route without triggering navigation and component-fetching, use `props.url.push` and `props.url.replace` within a component Is there a difference between : ```jsx export default () => <a onClick={() => Router.push('/about')}>About</a> ``` and ```jsx export default withRouter( () => <a onClick={() => props.router.push('/about')}>About</a> ) ``` ?
-
Jacob Page authored
Updated router samples to use the EventEmitter
-
Luc authored
Following https://github.com/zeit/next.js/pull/4952 I found two examples with the deprecated`props.url` : - `with-ioc` - `with-next-routes`
-
Tim Neutkens authored
-
Luc authored
* replace componentWillReceiveProps by componentDidUpdate * replace props.url by withRouter HOC * fix deprecated `props.url` in with-shallow-routing example
-
HaNdTriX authored
- [x] Add unit test - [x] Allow to get the display name of a native component (e.g.: `div`) without throwing - [ ] Remove displayName in production mode
-
Alexander Kachkaev authored
Fixes #4691 Fixes #4614 This PR gives path to https://github.com/zeit/next-plugins/pull/242 I did not add or remove `^` near dependency versions in package.json files. However, I don't exclude that some changes can be made given that rc is more stable than beta.
-