Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[WebLink] Hint that prerender is deprecated#60431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Where can it be useful? Asking because if it's no longer useful in web context maybe it's no longer needed inweblink? |
dunglas commentedMay 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It's deprecated but still supported by Chrome-based browsers (Firefox and Safari never implemented this and don't support speculation rules either). No need to break working apps for now. |
Thank you@dunglas. |
255d35f
intosymfony:6.4Uh oh!
There was an error while loading.Please reload this page.
This PR was merged into the 6.4 branch.Discussion----------[WebLink] Hint that `prerender` is deprecatedCompanion PR ofsymfony/symfony#60431Commits-------c32e885 [WebLink] Hint that prerender is deprecated
Uh oh!
There was an error while loading.Please reload this page.
prerender
has been deprecated. Add a hint in the PHPDoc not to use it.I decided not to deprecate the constant and the function itself because even if the keyword is deprecated in the web platform, it can be useful.