The problem with new URL(), and how URL.parse() fixes that

Kilian Valkhof

24/04/2024 10:09AM

Episode Synopsis "The problem with new URL(), and how URL.parse() fixes that"

As someone building a browser I need to parse a lot of URLs. Partially to validate them, but also to normalize them or get specific parts out of the URL. The URL API in browsers lets you do that, but it’s ergonomics aren’t ideal. The problem with new URL() The “new” in front of new […] The post The problem with new URL(), and how URL.parse() fixes that first appeared on Kilian Valkhof.

Listen "The problem with new URL(), and how URL.parse() fixes that"

More episodes of the podcast Kilian Valkhof