Closed dferber90 closed 2 years ago
getFlags should respect an optional serverLoadingTimeout option to avoid hanging in case the API can't be reached.
getFlags
serverLoadingTimeout
Needs to have a sane default value.
Needs to still throw when we're generating static pages, to avoid statically building pages based on no API response.
Done in v1.1.0 through https://github.com/happykit/flags/commit/ad88df67b12972a04c1dc8feecb7f1ef0a738344.
getFlags
should respect an optionalserverLoadingTimeout
option to avoid hanging in case the API can't be reached.Needs to have a sane default value.
Needs to still throw when we're generating static pages, to avoid statically building pages based on no API response.