quicklink
XO
quicklink | XO | |
---|---|---|
5 | 10 | |
10,943 | 7,554 | |
0.2% | 0.4% | |
6.4 | 5.8 | |
4 days ago | 15 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
quicklink
-
Lessons from open-source: Use window.trustedTypes to prevent DOM XSS.
// https://github.com/GoogleChromeLabs/quicklink/blob/453a661fa1fa940e2d2e044452398e38c67a98fb/src/index.mjs#L115-L118 // License: Apache 2.0 let cn if ((cn = (navigator as any).connection)) { // Don't prefetch if using 2G or if Save-Data is enabled. if (cn.saveData || /2g/.test(cn.effectiveType)) return Promise.resolve() }
-
7 Tricks to take the Performance of your Website to the Moon 🚀🌙
You can even use quicklink or guess to optimally prefetch resources.
-
Can I ditch AMP?
For example lazy loading youtube [videos with facades](https://web.dev/third-party-facades/?utm_source=lighthouse&utm_medium=devtools) as recommended by lighthouse. Or preloading pages using [quicklink](https://github.com/GoogleChromeLabs/quicklink). Of course, simple things such as loading="lazy" help too.
-
QUICKLINK: Module for faster subsequent pageload
Quicklink module provides a Drupal implementation of a lightweight javascript library called Quicklink. Quicklink library is developed by GoogleChromeLabs on link prefetching capability of browsers which allows faster subsequent page loads.
-
JavaScript Influencers to Follow in 2021🤩
Projects: google/material-design-lite, tastejs/todomvc, GoogleChrome/workbox, GoogleChromeLabs/quicklink
XO
-
Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects
You may be torn between those famous code styles, struggling to choose one between Airbnb JavaScript Style, Google JavaScript Style Guide, JavaScript Standard Style, or XO, among others.
-
ESLint: Flat Config Rollout Plan
Usually you would pick a config you like and set it up for your project, notable ones are already mentioned but I'll mention more:
- xo https://github.com/xojs/xo
-
Configuring ESLint, Prettier, and TypeScript Together | Josh Goldberg
You might enjoy `xo` :) https://github.com/xojs/xo
- From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience
-
Front-end Guide
XO
-
Code Review chronicles: destructuring, linting and one valid reason for Typescript
The developer told me we could not do that because the linter we are using. (XO)[https://github.com/xojs/xo] started complaining.
-
Yarn.lock: How to Update it
Real world example: you are using create-react-app, and you want to also to use xo, as both come with their own version of ESLint pre-installed, you could end up with 2 ESLint installed.
-
Lint rules updates: a sane and safe approach to fixes
One of the biggest hassles to update was the linter we are using: XO, which is a very opinionated, but customizable linter base on ESlint.
-
JavaScript Influencers to Follow in 2021🤩
Projects: awesome, awesome-nodejs, avajs/ava, xojs/xo
What are some alternatives?
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
React - The library for web and native user interfaces.
ESLint - Find and fix problems in your JavaScript code.
create-react-app - Set up a modern web app by running one command.
torrent - download torrents with node from the CLI
angular-styleguide - Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.
lighthouse - Automated auditing, performance metrics, and best practices for the web.
eslint-config-xo - ESLint shareable config for XO
Turbolinks - Turbolinks makes navigating your web application faster
eslint-plugin-simple-import-sort - Easy autofixable import sorting.