Skip to content

Commit f39b5e7

Browse files
committed
chore(rsc-mf): log remote callback registration and action usage
1 parent 6e39dd1 commit f39b5e7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration/rsc-mf/remote/src/components/registerServerCallback.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export function registerRemoteServerCallback(remoteOrigin: string) {
1313
}
1414

1515
const remoteActionUrl = new URL('/', remoteOrigin).toString();
16+
console.log(`[rsc-mf] registerRemoteServerCallback -> ${remoteActionUrl}`);
1617
setServerCallback(async (id, args) => {
18+
console.log(`[rsc-mf] remote callback action id -> ${id}`);
1719
const temporaryReferences = createTemporaryReferenceSet();
1820
const response = fetch(remoteActionUrl, {
1921
method: 'POST',

0 commit comments

Comments
 (0)