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
488 B
Text
15 lines
No EOL
488 B
Text
const CachedParams = new WeakMap();
|
|
function makeUntrackedParams(underlyingParams) {
|
|
const cachedParams = CachedParams.get(underlyingParams);
|
|
if (cachedParams) {
|
|
return cachedParams;
|
|
}
|
|
const promise = Promise.resolve(underlyingParams);
|
|
CachedParams.set(underlyingParams, promise);
|
|
return promise;
|
|
}
|
|
export function createRenderParamsFromClient(clientParams) {
|
|
return makeUntrackedParams(clientParams);
|
|
}
|
|
|
|
//# sourceMappingURL=params.browser.prod.js.map |