Title: Remove 'prerender' value from VisibilityState · Issue #31957 · microsoft/TypeScript · GitHub
Open Graph Title: Remove 'prerender' value from VisibilityState · Issue #31957 · microsoft/TypeScript
X Title: Remove 'prerender' value from VisibilityState · Issue #31957 · microsoft/TypeScript
Description: Search Terms prerender, visibility Suggestion According to MDN, the value 'prerender' has been deprecated and cannot be found in the current version of the official Page Visibility API specification. As mentioned in the document's introd...
Open Graph Description: Search Terms prerender, visibility Suggestion According to MDN, the value 'prerender' has been deprecated and cannot be found in the current version of the official Page Visibility API specificatio...
X Description: Search Terms prerender, visibility Suggestion According to MDN, the value 'prerender' has been deprecated and cannot be found in the current version of the official Page Visibility API spec...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/31957
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove 'prerender' value from VisibilityState","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please read the FAQ first, especially the \"Common Feature Requests\" section.\r\n\r\n-->\r\n\r\n## Search Terms\r\n\r\nprerender, visibility\r\n\r\n## Suggestion\r\n\r\n[According to MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState), the value `'prerender'` has been deprecated and cannot be found in the [current version](https://www.w3.org/TR/page-visibility-2/) of the official Page Visibility API specification.\r\n\r\nAs mentioned in the document's introduction, \"Without knowing the visibility state of a page, web developers have been designing web pages as if they are always `visible`\". I would propose adhering to the standard and using the `'visible'` value by default.\r\n\r\n## Checklist\r\n\r\nMy suggestion meets these guidelines:\r\n\r\n* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code\r\n* [x] This wouldn't change the runtime behavior of existing JavaScript code\r\n* [x] This could be implemented without emitting different JS based on the types of the expressions\r\n* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)\r\n* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).\r\n\r\n","author":{"url":"https://github.com/kripod","@type":"Person","name":"kripod"},"datePublished":"2019-06-18T08:13:24Z","url":"https://github.com/microsoft/TypeScript/issues/31957"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5db3c6d-c4f7-7364-142f-43bcbefddd14 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 848E:19B6A2:10FA0E0:1677BD4:6B01E1FC |
| html-safe-nonce | b97ee30f10fa5c2461a46948573c7acd99b90748161092559f89e8a3662db42c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDhFOjE5QjZBMjoxMEZBMEUwOjE2NzdCRDQ6NkIwMUUxRkMiLCJ2aXNpdG9yX2lkIjoiMTg5ODQyOTU5ODc5MDcwNTY2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d3c9421bf6dd7717ab644214805225951f3f1778af79d17226fc8a7f2165a929 |
| hovercard-subject-tag | issue:457324505 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/31957/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4681156eada837af43393c139dc825249b2bfb439314ea0f737485385cc9102c/microsoft/TypeScript/issues/31957 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4681156eada837af43393c139dc825249b2bfb439314ea0f737485385cc9102c/microsoft/TypeScript/issues/31957 |
| og:image:alt | Search Terms prerender, visibility Suggestion According to MDN, the value 'prerender' has been deprecated and cannot be found in the current version of the official Page Visibility API specificatio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kripod |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width