Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
No EOL
593 B
Text
15 lines
No EOL
593 B
Text
const CachedSearchParams = new WeakMap();
|
|
function makeUntrackedSearchParams(underlyingSearchParams) {
|
|
const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);
|
|
if (cachedSearchParams) {
|
|
return cachedSearchParams;
|
|
}
|
|
const promise = Promise.resolve(underlyingSearchParams);
|
|
CachedSearchParams.set(underlyingSearchParams, promise);
|
|
return promise;
|
|
}
|
|
export function createRenderSearchParamsFromClient(underlyingSearchParams) {
|
|
return makeUntrackedSearchParams(underlyingSearchParams);
|
|
}
|
|
|
|
//# sourceMappingURL=search-params.browser.prod.js.map |