This content originally appeared on CSS-Tricks and was authored by Chris Coyier
I like a good trick. What if… a URL was… a promise… that fetched said URL?
www.codepen.io.then((response) => {
console.log(response);
});
That’s what @justjavac did with JavaScript Proxys. A clever trick, that. Don’t @ me about the practicality. Trick, folks.
Direct Link to Article — Permalink
The post proxy-www appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
This content originally appeared on CSS-Tricks and was authored by Chris Coyier
Chris Coyier | Sciencx (2021-05-24T19:09:59+00:00) proxy-www. Retrieved from https://www.scien.cx/2021/05/24/proxy-www/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.