Files
voyage/apps/public-web/node_modules/next/dist/esm/client/app-call-server.js
PascalSchattenburg d147843c76 feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
2026-01-22 14:14:15 +01:00

18 lines
600 B
JavaScript

import { startTransition } from 'react';
import { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types';
import { dispatchAppRouterAction } from './components/use-action-queue';
export async function callServer(actionId, actionArgs) {
return new Promise((resolve, reject)=>{
startTransition(()=>{
dispatchAppRouterAction({
type: ACTION_SERVER_ACTION,
actionId,
actionArgs,
resolve,
reject
});
});
});
}
//# sourceMappingURL=app-call-server.js.map