- 09 Mar, 2020 11 commits
-
-
Tim Neutkens authored
-
Joe Haddad authored
-
Joe Haddad authored
* Verify GS(S)P Serializability * Add support for cyclic refs * Add unit tests * Test for error in development mode * Fix prerender preview tests * Fix gssp preview tests * fix 2x test cases * Add desired test * fix some more tests * Fix route manifest expect * Fix test expects * Test that `getServerSideProps` does not error in production * Test that getStaticProps is not checked in production * Test serialization check during build * Fix export detection for serverless * Update test/unit/is-serializable-props.test.js Co-Authored-By:
JJ Kasper <jj@jjsweb.site> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Shu Uesugi authored
-
Joe Haddad authored
Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Tim Neutkens authored
Fixes #10890
-
Shu Uesugi authored
* Copy cms-datocms * Update package.json * Desktop design * Tablet support * Mobile styles * Update titles * Add article page * Minor tweaks * Fix height issue * Improve text colors * Extract Alert and Footer components * Extract avatar * Add Date * Extract container * Fix capitalization * Make it work with no backend * Add paragraph styles * Extract PostPreview * Extract h2 * Extract more stories * Refactor into more components * Update tags * Add missing key * Add custom document for lang="" support * Add dotenv * Load data for the index page * Limit posts * Show post page * Add markdown processing * Forgot margin * Add links * Remove files and add fallback * Add og:image * Add favicon * Add aria-label * Fix prerender * Learn more → read documentation * Fix links and footer * Desaturate using imgix * Add preview secret * Add preview support * Fix preview code * Exit preview mode * Extract getAllPostsWithSlug * Extract getAllPostsForHome * Extract getPreviewPostBySlug * Extract getPostAndMorePosts * Extract constants * Extract markdownToHtml * Fix markdown styles * Fix imgix for author * Add README * Add links to docs
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Balázs Orbán authored
* Fix getStaticPaths example code * Update docs/basic-features/data-fetching.md Co-authored-by:Tim Neutkens <tim@timneutkens.nl>
-
- 08 Mar, 2020 1 commit
-
-
Shu Uesugi authored
-
- 06 Mar, 2020 9 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
Shu Uesugi authored
* Add TypeScript docs * Fix types
-
Shu Uesugi authored
* Add preview mode file * Update descriptions for data fetching * Add preview mode documentation * Use quotes for front matter * Wordsmith * Fix URL * Minor updates Co-authored-by:Tim Neutkens <timneutkens@me.com>
-
Joe Haddad authored
-
Joe Haddad authored
* Fix Prerender Test Cases * fix test
-
Joe Haddad authored
* Fix `getServerSideProps` Test Case * Data requests should fail instead of rendering
-
JJ Kasper authored
* Update to use separate export instead of attaching to Component to identify GS(S)P pages * Handle initialProps being undefined
-
- 05 Mar, 2020 10 commits
-
-
Tim Neutkens authored
* add example for why-did-you-render * Load whyDidYouRender from _app.js To avoid custom webpack main entry modifications as this can cause [hydration errors](https://github.com/zeit/next.js/pull/10662#pullrequestreview-365188433)
-
Joe Haddad authored
-
Joe Haddad authored
-
Tim Neutkens authored
-
Joe Haddad authored
This reverts commit b5c70e86.
-
Tim Neutkens authored
-
Tim Neutkens authored
* update custom server readmes * remove deploy buttons
-
Tim Neutkens authored
-
Tim Neutkens authored
* Update pages doc for SSG * Add data fetching doc * Format code * Link directly to nextjs.org * Fix link * Add .md * Add .md * Fix hashes * Update pages.md * Wordsmith * Fix link * Fix heading * Capitalization * Link to pages * Add router link * Fix parens * Make links consistent * Use commas * Link to fallback pages * Update data-fetching.md * Fix linting Co-authored-by:Tim Neutkens <tim@timneutkens.nl>
-
Tim Neutkens authored
* fix: remove minimum-scale from default viewport * update test * remove extra comma * drop initial-scale
-
- 04 Mar, 2020 8 commits
-
-
Tim Neutkens authored
* Make sure to error when setting too large of preview data * Update to check size after signing and limit to 2KB
-
Tim Neutkens authored
* Add docs for static 404 and pages/404 * Remove new from docs * Apply suggestions from code review Co-Authored-By:
Shu Uesugi <shu@chibicode.com> * Rework using suggestions from review * Apply suggestions from code review Co-Authored-By:
Shu Uesugi <shu@chibicode.com> * Update custom-error-page.md * Update custom-error-page.md * Update custom-error-page.md * Fix prettier Co-authored-by:
Shu Uesugi <shu@chibicode.com> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl>
-
JJ Kasper authored
-
Joe Haddad authored
-
Joe Haddad authored
* Send Credentials for `getServerSideProps` Requests * Fix tests
-
JJ Kasper authored
* Update to make sure preview mode works with getServerSideProps * Update to only parse previewData in GS(S)P mode
-
Vincent Voyer authored
This commit effectively removes the --inspect flag from the CLI help and better inform on the deprecation.
-
JJ Kasper authored
* Update to output jest data for posting failed tests comment * Add failing test * Reset retries * Revert change for testing
-
- 03 Mar, 2020 1 commit
-
-
JJ Kasper authored
* Add identifier to NEXT_DATA for gs(s)p * Apply suggestions from code review Co-Authored-By:
Joe Haddad <joe.haddad@zeit.co> * fix lint * apply lint fix Co-authored-by:
Joe Haddad <timer150@gmail.com>
-