Frequently asked questions
Component mode uses encodeURIComponent/decodeURIComponent, which escapes every character with special meaning in a URL — including & = ? / : , — so it's safe for a single query-string value. Full URI mode uses encodeURI/decodeURI, which leaves those structural characters alone since they're expected to appear in a complete URL.