- 17 7月, 2020 2 次提交
-
-
由 Luis Alvarez D 提交于
The current readme has wrong instructions and it's not clear enough about how to get the app running, also added deploy to Vercel buttons.
-
由 anotherjsguy 提交于
This PR adds an example for [filbert-js](https://filbert-js.vercel.app/docs/introduction)
🖌 ️ I have locally run the example & it's working as expected.
-
- 16 7月, 2020 3 次提交
-
-
由 Tanmay Laud 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 Nikolay Stoynov 提交于
Continuation of #15177
-
由 Ruslan Dzyubanov 提交于
apollo-client 2.6.8 -> 3.0.0
-
- 15 7月, 2020 3 次提交
-
-
由 Jacky Efendi 提交于
Co-authored-by: NJason Miller <developit@users.noreply.github.com>
-
由 Midnight 提交于
prettier --write **/*.{js,ts,tsx} does not work as intended, it never does traverse all files with js,ts,tsx extension. For it to work as intended, extension args should be wrapped in quotes like this "**/*.{js,ts,tsx}"
-
由 Nikolay Stoynov 提交于
It was using the non-typescript version
-
- 14 7月, 2020 3 次提交
-
-
由 Lukas Polak 提交于
Use hooks with jss
-
由 Jesse Jafa 提交于
This should close https://github.com/vercel/next.js/issues/12964 but I'm leaving it up to one of the Tims (or if there are other maintainers) to close the issue as they see fit.
-
由 abhik-b 提交于
UPDATE I ADDED: setUser() AFTER REMOVING cookie IN return STATEMENT OF logout ARROW FUNCTION There might be some cases where you do not want to redirect users after logout rather let them remain in that same page BUT let them know they have logged out by some UI changes . For that cases you might need the 'user' hook to update when users logs out . CURRENTLY the 'user' hook DOES NOT UPDATE AUTOMATICALLY when the user logs out . PAGE REFRESH NEEDED to update that. So i propose that we might add setUser() to update user so that user never returns true until user is set some value again
-
- 13 7月, 2020 2 次提交
-
-
由 Anthony Morris 提交于
The TypeScript blog starter didn't have `.next` in the `.gitignore` file.
-
由 Jens Meindertsma 提交于
Co-authored-by: NJoe Haddad <timer150@gmail.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 11 7月, 2020 2 次提交
-
-
由 Cristian Bote 提交于
* (chore) Add with-goober as an example * (chore) Added better documentation * Updated package json Co-authored-by: NLuis Alvarez <luis@vercel.com>
-
由 Steph Query 提交于
Sorry if I'm mixed up here. Was trying to install this and realized the folder is just `/with-emotion`. Guessing this was merged to overwrite the pre-v10 example project.
-
- 10 7月, 2020 1 次提交
-
-
由 Ricky Abell 提交于
Download instructions in examples/with-next-auth/README.md currently fail because they refer to next-auth instead of with-next-auth.
-
- 09 7月, 2020 1 次提交
-
-
由 JP Lew 提交于
There is a bug in the cms-wordpress example due to a Wordpress plugin dependency. After running `npm install`, then either `npm run dev` or `npm run build`, the following errors appear in the console: ```shell > cms-wordpress@1.0.0 dev /Users/jplew/Sites/projects/next.js/examples/cms-wordpress > next ready - started server on http://localhost:3000 info - Loaded env from /Users/jplew/Sites/projects/next.js/examples/cms-wordpress/.env.local event - compiled successfully event - build page: / wait - compiling... event - build page: /next/dist/pages/_error event - compiled successfully [ { message: 'Cannot query field "name" on type "NodeWithAuthorToUserConnectionEdge". Did you mean "node"?', extensions: { category: 'graphql' }, locations: [ [Object] ] }, { message: 'Cannot query field "firstName" on type "NodeWithAuthorToUserConnectionEdge".', extensions: { category: 'graphql' }, locations: [ [Object] ] }, { message: 'Cannot query field "lastName" on type "NodeWithAuthorToUserConnectionEdge".', extensions: { category: 'graphql' }, locations: [ [Object] ] }, { message: 'Cannot query field "avatar" on type "NodeWithAuthorToUserConnectionEdge".', extensions: { category: 'graphql' }, locations: [ [Object] ] } ] Error: Failed to fetch API at fetchAPI (webpack-internal:///./lib/api.js:31:11) ``` The reason for this is `wp-graphql` released version v0.10.0 ten days ago which introduced a number of breaking changes (https://github.com/wp-graphql/wp-graphql/releases/tag/v0.10.0). Specifically, this is the change that breaks the current example: > - One to One relationships are now nested. For example post.author and post.featuredImage now return an edge/node instead of the node directly. More info about this change can be found here: https://github.com/wp-graphql/wp-graphql/issues/347#issuecomment-639071772 After my changes, `npm run dev` and `npm run build` succeed without errors.
-
- 08 7月, 2020 9 次提交
-
-
由 Luis Alvarez D 提交于
Fixes #14792 Closes #14814 The project id is currently used by Sanity's image builder, which is used in a React component. @maybac It was faster for me to create a new PR but the credit goes to you, thank you!.
-
由 Darsh Patel 提交于
-
由 Christian Alfoni 提交于
-
由 Gianmarco 提交于
Hi, we received some issues on the `react-three-fiber` and `drei` repos, mentioning broken ssr because of some examples where we import three's examples - like to implement loaders or controls. This PR adds a next.config suggested by many that transpiles everything in three, drei and postprocessing. I also added some code from `drei` that shows how controls and effects can be easily added.
-
由 Arsalan Khattak 提交于
-
由 Christian Alfoni 提交于
Fix key warning
-
由 Christian Alfoni 提交于
Fix key warning
-
由 Christian Alfoni 提交于
-
由 Christian Alfoni 提交于
-
- 07 7月, 2020 3 次提交
-
-
由 Tomasz Tunik 提交于
Preview of existing posts should always return the latest revision so DESC sorting was required. Otherwise, it would always return the oldest revision. Tested against latest Wordpress and GraphQL plugins on drafts, published, and edited but unpublished changes. The example works great!
-
由 Christian Alfoni 提交于
-
由 James Mosier 提交于
Fast Refresh doesn't appear to work with older version (16.8.x) versions of React. I was able to reproduce this via this issue https://github.com/vercel/next.js/issues/14895 I updated all examples I found of React `16.8.x` to `^16.13.1` so that future installs will auto bump to the latest minor version. Previously the pinned version was causing the lock of version.
-
- 01 7月, 2020 3 次提交
-
-
由 Lindsey Simon 提交于
Fix CSS `display` on login link.
-
由 muslax 提交于
-
由 Luis Alvarez D 提交于
Updated the example to use server only variables inside `getStaticProps`
-
- 30 6月, 2020 5 次提交
-
-
由 Darsh Patel 提交于
Fix super minor typo in cms-sanity example readme
-
由 Darsh Patel 提交于
Added an Example using MongoDB's Realm-Web SDK ![Screenshot 2020-06-25 at 5 25 49 PM](https://user-images.githubusercontent.com/11258286/85715292-ebafa680-b708-11ea-98bd-d8d64701f0af.png) Fixes #14417
-
由 ralphilius 提交于
-
由 Arsalan Khattak 提交于
Change Data Fetching Method in Example with-mongodb-mongoose Fetch Data on Runtime (getServerSideProps) rather than Build Time (getStaticProps)
-
由 Pascal Pixel 提交于
The existing example gives an error on every hot reload, perhaps because of the way that an initial `useEffect` hook imports the `GLTFLoader` and it doesn't redo that on hot reload? Putting the component using the `useLoader` hook in a dynamic import seems to fix this. Open to better suggestions, this is kind of awkward to use still...
-
- 28 6月, 2020 2 次提交
-
-
由 Luis Alvarez D 提交于
Closes https://github.com/vercel/next.js/issues/14570 Closes https://github.com/vercel/next.js/issues/14576 - The example features everything on the page in our docs while still being quite simple - Added a link to it in the documentation - Deprecated the with-now-env example
-
由 S M Mahmudul Hasan 提交于
Add @prefresh/next as dependency Closes #14607
-
- 27 6月, 2020 1 次提交
-
-
由 S M Mahmudul Hasan 提交于
Closes: #14595
-