- 16 Jun, 2021 19 commits
-
-
JJ Kasper authored
-
Antoine Chalifour authored
This PR is an attempt to fix #25943. The implementation is only a proposal and I'll be happy to take any feedback about it :) Fixes: #25943 ## Bug - [X] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
-
Tim Neutkens authored
-
Tim Neutkens authored
Incorporates some of the feedback we've had about this doc. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Jonathan Wilsson authored
## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes Fixes: https://github.com/vercel/next.js/issues/26163
-
Nick Babcock authored
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples need to be updated, so the following snippet updated all the examples to a compatible react version. ```bash cd examples/ fd -g 'package.json' | xargs sed -r -i 's/"react": ".*"/"react": "^17.0.2"/ fd -g 'package.json' | xargs sed -r -i 's/"react-dom": ".*"/"react-dom": "^17.0.2"/' # exclude experimental react version git checkout with-reason-relay/package.json ```
-
David Vaness authored
## Documentation removes dot from docs link as the terminal appends the dot to the link, which leads to 404
-
JJ Kasper authored
-
toyamarinyon authored
## Documentation / Examples When I create a new application using Next.js and use `jest` or `react-testing-library`, I get the following error. ``` The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string. Consider using the "jsdom" test environment. ReferenceError: document is not defined ``` This is because `jest-config` changed the default testing environment to node in 27.0. > `jest-config@27.0.0` default to Node testing environment instead of browser (JSDOM) (#9874) Raised the jest version of `with-typescript-eslint-jest` to 27.0 to make it pass the test. - [x] Make sure the linting passes
-
Cauan Cabral authored
-
Steven authored
It was mentioned in Issue #18858 that we might add a `placeholder="skeleton"` but that didn't ship with Next.js 11 because it would likely need to handle additional config such as light mode / dark mode, speed, duration, etc. So this PR adds an example of `blurDataURL` usage with a nice shimmer animation (sometimes called a skeleton).
-
Steven authored
Fixes version history in the `next/image` component [docs]( https://nextjs.org/docs/api-reference/next/image). - [before.png](https://user-images.githubusercontent.com/229881/122237698-8874d200-ce8d-11eb-8b6b-6dad8ebfd13b.png) - [after.png](https://user-images.githubusercontent.com/229881/122237708-8ad72c00-ce8d-11eb-891b-31f87847113c.png)
-
Casper authored
## Documentation / Examples - [x] Make sure the linting passes
-
Riley Shea authored
Bad casing causing failed import
-
Wiktoria Mielcarek authored
- Step for installing the latest next version was missing - Turned "Upgrade React version to latest" to an h3 heading ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Lachlan Campbell authored
Noticed a few things off in the Script docs—for example, the "before" variant should show using a non-React Component `<script>` tag, & the capitalization was inconsistent in a few places. ## Documentation / Examples - [x] Make sure the linting passes
-
Ivan Kalinin authored
Module "next/image" has no exported member 'Image'. It must be `import Image from "next/image"`
-
Steven authored
This updates the `next/image` docs and examples to add missing information.
-
- 15 Jun, 2021 13 commits
-
-
JJ Kasper authored
-
Herman Nygaard authored
-
JJ Kasper authored
* Ensure all errors are added in manifest * Add script doc to manifest
-
Herman Nygaard authored
-
JJ Kasper authored
-
JJ Kasper authored
-
Alex Castle authored
* Update image documentation for static image Adds documentation for static image and blurry placeholder functionality * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Update docs/api-reference/next/image.md Co-authored-by:
Steven <steven@ceriously.com> * Version history and placeholder revisions * Apply suggestions from code review Co-authored-by:
Steven <steven@ceriously.com> * lint-fix Co-authored-by:
Steven <steven@ceriously.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
-
Janicklas Ralph authored
* Script component docs * Update docs with examples and feedback changes * Fix typo * Add example * Update text * Apply suggestions from code review Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
This updates to the latest version of webpack 5 which includes a fix waiting on certain webpack assets ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
-
JJ Kasper authored
* Add lint checking events * remove extra log * Update check * Update version check
-
Joe Cohen authored
This PR updates the Learn path in the getting started and from Create React App docs. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
-
- 14 Jun, 2021 8 commits
-
-
Houssein Djirdeh authored
-
Vitaly Baev authored
* fix: don't create .eslintrc if package.json contains eslintConfig * tests: added integration tests for next lint Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Gerald Monaco authored
Forgot to update this in a previous PR.
-
Gerald Monaco authored
-
Gerald Monaco authored
Canary requires `react@>=17.0.2`, so we no longer need these checks.
-
JJ Kasper authored
-
Tim Neutkens authored
Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Pavel Mineev authored
Fixes one of the items from #25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button
-