This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import notifierQueue from "~/queues/notifier.server.ts"; | |
export const loader = async () => { | |
await notifierQueue.add("test", { emailAddress: "[email protected]" }); | |
return null; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
basic | |
frozen | |
cancelled | |
professional | |
affiliate | |
trial | |
dormant | |
shopify_plus | |
unlimited | |
paused |
Looking for support tables for HTML/CSS/JavaScript features or details on their implementation status in major browsers?
- Chrome Platform Status (covers Chromium and thus includes Opera)
- Firefox Platform Status
- Microsoft Edge Platform Status
- WebKit Feature Status
- API Catalog
And then there’s Can I use…?.
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
,elem.offsetTop
,elem.offsetWidth
,elem.offsetHeight
,elem.offsetParent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Stream = require('stream') | |
var gulp = require('gulp') | |
var postcss = require('gulp-postcss') | |
function errorStream () { | |
var stream = new Stream.Transform({ objectMode: true }) | |
stream._transform = function (file, encoding, cb) { | |
cb(new Error('unhandled exception!')) | |
} | |
return stream |