one
Version:
One is a new React Framework that makes Vite serve both native and web.
13 lines (12 loc) • 446 B
JavaScript
const EMPTY_LOADER_STRING = 'export function loader() {return "__vxrn__loader__"};';
function makeLoaderRouteIdStub(routeId) {
return `export function loader() {return ${JSON.stringify(routeId)}};`;
}
const LoaderDataCache = {}, SERVER_CONTEXT_POST_RENDER_STRING = "_one_post_render_data_";
export {
EMPTY_LOADER_STRING,
LoaderDataCache,
SERVER_CONTEXT_POST_RENDER_STRING,
makeLoaderRouteIdStub
};
//# sourceMappingURL=constants.js.map