You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No Safari support for Promise.withResolvers until v17.3 make @defer and incremental hydration unusable across all browsers #63855
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
I haven't seen this reported anywhere but we just did a big release where we were using some @defer blocks, only to find out that they don't work on Safari until v17.3, meaning we had to remove them all again.
We're using Zoneless in our application and all the new fresh stuff released over the last major versions (we're on v20.2 currently), and this was very disappointing to find out.
It will be years until most users are above that version, leaving incremental hydration completely unusable to us and other devs who needs to have reasonable browser support for their applications.
Is there any way @defer can be reworked to not use Promise.withResolvers, or am I missing some sort of polyfill?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
TypeError: Promise.withResolvers is not a function. (In 'Promise.withResolvers()', 'Promise.withResolvers' is undefined)
Please provide the environment you discovered this bug in (run ng version)
changed the title [-]No Safari support for Promise.withResolvers until v17.3 make @defer and hydration unusable across all browsers[/-][+]No Safari support for Promise.withResolvers until v17.3 make @defer and incremental hydration unusable across all browsers[/+]on Sep 17, 2025
Promise.withResolvers is indeed "too new" for our support policy.
I'm supprised it took 10month for someone to notice that we had Promise.resolvers in the defer block implementation.
If we had been in september 2026 (which would make that API part of our support scope, the general recommendation to support it would be to use a polyfill).
Activity
[-]No Safari support for Promise.withResolvers until v17.3 make @defer and hydration unusable across all browsers[/-][+]No Safari support for Promise.withResolvers until v17.3 make @defer and incremental hydration unusable across all browsers[/+]refactor(core): remove usages of Promise.withResolvers
JeanMeche commentedon Sep 17, 2025
Promise.withResolversis indeed "too new" for our support policy.I'm supprised it took 10month for someone to notice that we had
Promise.resolversin the defer block implementation.If we had been in september 2026 (which would make that API part of our support scope, the general recommendation to support it would be to use a polyfill).
refactor(core): remove usages of Promise.withResolvers
refactor(core): remove usages of Promise.withResolvers (#63856)
refactor(core): remove usages of Promise.withResolvers (angular#63856)
refactor(core): remove usages of Promise.withResolvers (angular#63856)
angular-automatic-lock-bot commentedon Oct 18, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.