rsnext/packages/next/lib
JJ Kasper c24daa2172 Add initial support for unstable_getServerProps (#10077)
* Add support for unstable_getServerProps

* Apply suggestions from review

* Add no-cache header and update types

* Revert sharing of load-components type

* Add catchall test and update routes-manifest field

* Update header check

* Update to pass query for getServerProps data requests

* Update to not cache getServerProps requests

* Rename server side props identifier

* Update to nest props for getServerProps

* Add no-cache header in serverless-loader also

* Update to throw error for mixed SSG/serverProps earlier

* Add comment explaining params chosing in serverless-loader

* Update invalidKeysMsg to return a string and inline throwing

* Inline throwing mixed SSG/serverProps error

* Update setting cache header in serverless-loader

* Add separate getServerData method in router

* Update checkIsSSG -> isDataIdentifier

* Refactor router getData back to ternary

* Apply suggestions to build/index.ts

* drop return

* De-dupe extra escape regex

* Add param test
2020-01-27 17:50:59 -05:00
..
check-custom-routes.ts Check for invalid objects in rewrites/redirects/headers (#10238) 2020-01-23 11:08:25 -06:00
coalesced-function.ts Add experimental SPR support (#8832) 2019-09-24 10:50:04 +02:00
constants.ts Add initial support for unstable_getServerProps (#10077) 2020-01-27 17:50:59 -05:00
file-exists.ts Replace fs.exists with fs.access (#7742) 2019-07-16 23:01:21 -07:00
find-config.ts Add More Configuration File Options (#9713) 2019-12-11 16:56:47 -05:00
find-pages-dir.ts Add src directory support (#8735) 2019-09-24 17:15:14 +02:00
pretty-bytes.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
recursive-copy.ts Fix recursive copy failing if more folders than concurrency (#9429) 2019-11-15 13:53:59 -08:00
recursive-delete.ts Exclude cache from being deleted in dev (#9448) 2019-11-19 10:40:13 -06:00
recursive-readdir.ts Make recursiveReadDir return sorted array (#7658) 2019-07-08 21:06:04 -04:00
resolve-request.ts Uses the PnP API when available (#8668) 2019-09-09 11:47:42 -04:00
verifyTypeScriptSetup.ts Use optional chaining syntax (#9975) 2020-01-08 11:30:53 -05:00