Using response streams in templates enables complete streaming as compared to promises where you would have to fetch data and wait for it to parse to text, with streams you simply fetch partial html incrementally streamed, this is mostly useful at the serviceworker level, where the users network maybe slow and waiting for a fetch promise to resolve takes a lot of time
Using response streams in templates enables complete streaming as compared to promises where you would have to fetch data and wait for it to parse to text, with streams you simply fetch partial html incrementally streamed, this is mostly useful at the serviceworker level, where the users network maybe slow and waiting for a fetch promise to resolve takes a lot of time