- 02 Oct, 2019 10 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
* Show content as soon as <style> tags are added * Add fallback removal * Add test for when unused * Ensure the function is ES5 compatible * IE support * Test it works on broken pages
-
Joe Haddad authored
* Remove `config` export This removes the `config` export instead of all exports. Reverts #8889 (but with fixed behavior) * Add test to ensure config object is dropped from client-bundle
-
Joe Haddad authored
These Recipies are not regularly audited to ensure they're using the most up-to-date and suggested practices. We'll reintroduce the idea of "recipies" in the future, for now, the examples directory is a great place to start.
-
Joe Haddad authored
* s/Automatic Prerendering/Automatic Static Optimization/ * Update more links
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
* Add new `srcRoute` attribute to SprRoute * Update prerender manfiest test snapshot * Fix types
-
JJ Kasper authored
-
- 01 Oct, 2019 4 commits
-
-
JJ Kasper authored
* Add auth0 example * Apply suggestions from code review Co-Authored-By:Joe Haddad <joe.haddad@zeit.co> * Remove LICENSE * Add create next-app section * Update to latest @auth0/nextjs-auth0 * Update user handling * Update profile link to use <Link> * Update .env template to reflect guides * Simplify example * Update example to prefer API call (temporary hardcoded url) * Simplify state and ensure rerenders don’t race * Clear up import being commented * Make code style consistent * Update pages to reflect required auth on the client-side * Memoize the user on window * Update now.json instruction * Remove meta fields * Update docs with explanation * Update UI for auth0 example
-
Joe Haddad authored
-
Henrik Wenz authored
## Changes - [x] Remove _app.js usage - [x] Migrate withRedux HOC to functional component - [x] Add correct display name - [x] Remove abstractions/boilerplate from example - [x] Add useInterval HOC from Dan
-
Joe Haddad authored
* Update Prerender Manifest * Fix typescript
-
- 30 Sep, 2019 2 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
-
- 29 Sep, 2019 1 commit
-
-
takehiro-takahashi authored
-
- 28 Sep, 2019 7 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
Joe Haddad authored
-
Joe Haddad authored
-
- 27 Sep, 2019 5 commits
-
-
Joe Haddad authored
* Add SPR Dynamic Routes to Manifest This adds dynamic routes for SPR pages to the prerender manifest so we can configure the Now Builder to handle these routes as SPR routes. Otherwise, they're treated like normal `getInitialProps` pages. * Fix types
-
Joe Haddad authored
-
Joe Haddad authored
* Configure the Default Revalidate The default revalidate behavior should be configured by Next.js. Otherwise, the behavior might drift or change in non-semver compliant ways between Next.js and the builder (or other 3rd party setups). * Add additional comment
-
Joe Haddad authored
Per the HTTP specification, only natural numbers may be used for caching durations. We should enforce this with a really helpful error message.
-
Joe Haddad authored
* Favicon should have low importance * Update index.js
-
- 26 Sep, 2019 4 commits
-
-
Joe Haddad authored
This checks that the program output actually claims there was a build error.
-
Joe Haddad authored
The Now CDN does not support the `stale-if-error` header and already behaves like that for `stale-while-revalidate`. Removing this header allows Now CDN to use its default headers instead of sending _only_ `stale-if-error` after stripping `s-maxage` and `stale-while-revalidate`.
-
fabienheureux authored
The first corrected sentence did not feel very natural. The second one contained a typo.
-
Joe Haddad authored
* Add support for ZEIT Now CI detection * Add isNowDev to meta fields
-
- 25 Sep, 2019 2 commits
-
-
Joe Haddad authored
-
JJ Kasper authored
* Add revalidate header and error when invalid object from getStaticProps * Make sprCache no-op in dev mode * Update packages/next/next-server/server/next-server.ts * Update tests for fixes * Update getStaticProps error and add test * Update manifest test * Add validating revalidate value * Apply suggestions from code review Co-Authored-By:Joe Haddad <joe.haddad@zeit.co> * Change from error to warning high revalidate value
-
- 24 Sep, 2019 5 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
* Add find-pages-dir * Add support for src directory * Add test for pages dir preference * Update comment
-
Tim Neutkens authored
-
Maël Nison authored
* Fixes PnP + TS support * Uses import on the resolved TS path (since it's not a dep) * Fixes TS
-
Janicklas Ralph authored
-