mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
19 lines
880 B
JavaScript
19 lines
880 B
JavaScript
/* __next_internal_action_entry_do_not_use__ {"803128060c414d59f8552e4788b846c0d2b7f74743":{"name":"$$RSC_SERVER_CACHE_0"}} */ import { registerServerReference } from "private-next-rsc-server-reference";
|
|
import { cache as $$cache__ } from "private-next-rsc-cache-wrapper";
|
|
import { cache as $$reactCache__ } from "react";
|
|
const $$RSC_SERVER_CACHE_0_INNER = async function fn() {
|
|
return 'foo';
|
|
};
|
|
export var $$RSC_SERVER_CACHE_0 = $$reactCache__(function fn() {
|
|
return $$cache__("default", "803128060c414d59f8552e4788b846c0d2b7f74743", 0, $$RSC_SERVER_CACHE_0_INNER, []);
|
|
});
|
|
registerServerReference($$RSC_SERVER_CACHE_0, "803128060c414d59f8552e4788b846c0d2b7f74743", null);
|
|
Object["defineProperty"]($$RSC_SERVER_CACHE_0, "name", {
|
|
value: "fn"
|
|
});
|
|
var fn = $$RSC_SERVER_CACHE_0;
|
|
async function Component() {
|
|
const data = await fn();
|
|
return <div>{data}</div>;
|
|
}
|