GitHub: How we think about browsers

GitHub is currently shipping ES2019-compatible code, and will soon ship ES2020 code. GitHub will soon be serving JavaScript using syntax features found in the ECMAScript 2020 standard, which includes the optional chaining and nullish coalescing operators. This change will lead to a 10kb reduction in JavaScript across the site. Wow, won’t that exclude a whole …


This content originally appeared on Bram.us and was authored by Bramus!

GitHub is currently shipping ES2019-compatible code, and will soon ship ES2020 code.

GitHub will soon be serving JavaScript using syntax features found in the ECMAScript 2020 standard, which includes the optional chaining and nullish coalescing operators. This change will lead to a 10kb reduction in JavaScript across the site.

Wow, won’t that exclude a whole bunch of browsers? No. Looking at the data, the majority of their visitors use the latest version of a browser, or the version before that (wow!).

This shows us that the promise of evergreen browsers is here today. The days of targeting one specific version of one browser are long gone. […] With that said, we still need to ensure some compatibility for user agents, which do not fall into the neat box of evergreen browsers. Universal access is important, and 1% of 73 million users is still 730,000 users.

To cater for older browsers they include some polyfills to plug the holes, but that’s not really needed:/p>

With JavaScript disabled, you’re still able to log in, comment on issues and pull requests, browse source code, search for repositories, and even star, watch, or fork them. Popover menus even work.

Yes, a thousand times YES!

GitHub: How we think about browsers →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2022-06-29T23:19:36+00:00) GitHub: How we think about browsers. Retrieved from https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/

MLA
" » GitHub: How we think about browsers." Bramus! | Sciencx - Wednesday June 29, 2022, https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/
HARVARD
Bramus! | Sciencx Wednesday June 29, 2022 » GitHub: How we think about browsers., viewed ,<https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/>
VANCOUVER
Bramus! | Sciencx - » GitHub: How we think about browsers. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/
CHICAGO
" » GitHub: How we think about browsers." Bramus! | Sciencx - Accessed . https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/
IEEE
" » GitHub: How we think about browsers." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/. [Accessed: ]
rf:citation
» GitHub: How we think about browsers | Bramus! | Sciencx | https://www.scien.cx/2022/06/29/github-how-we-think-about-browsers/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.