Many modern web apps require the manipulation of the URL, which was previously done using (unmaintainable) implementations that are error-prone and highly custom.
In the future we'd like to use URLSearchParams more often as it provides a rather clean and standardized API that should cover all previous and future use-cases.
We should primarily talk about whether we really want to bundle mojave with an URLSearchParams polyfill or if we should just provide a curated list of recommended libs to use when we need this feature.
Many modern web apps require the manipulation of the URL, which was previously done using (unmaintainable) implementations that are error-prone and highly custom.
In the future we'd like to use
URLSearchParams
more often as it provides a rather clean and standardized API that should cover all previous and future use-cases.Some quick researches has shown
https://bundlephobia.com/result?p=query-string@6.3.0 https://bundlephobia.com/result?p=url-search-params-polyfill@5.0.0 https://bundlephobia.com/result?p=@ungap/url-search-params@0.1.2
We should primarily talk about whether we really want to bundle mojave with an
URLSearchParams
polyfill or if we should just provide a curated list of recommended libs to use when we need this feature.