proxy-www

Publikováno: 24.5.2021

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


The post proxy-www appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.

Celý článek

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 ArticlePermalink


The post proxy-www appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace