Fast Loading a SPA with a single request
Authors
Motivation
We need an Open Source alternative to AMP.
We need an Open Source alternative to AMP.
//usage: | |
cmds({ | |
$: {general: 'pattern'}, | |
a: {specificying:'pattern'} | |
}) | |
.$a(function (err, args) { | |
console.log(args, Object.keys(args)) | |
}) | |
//after 1.5 secs logs Object {specificying: "pattern", general: "pattern"} ["specificying", "general"] |