SPB Git forge
3commits 1branches 0releases
417.0 KBsize
maindefault branch
10 days agolast push
TypeScript 66.5% Python 30.9% JavaScript 1.4% CSS 0.7%
431 B · 12 lines tsx
Raw Blame History
1'use client';2/** Client island: loads the Three.js globe only in the browser, showing the skeleton shell immediately. */3import dynamic from 'next/dynamic';4import { GlobeSkeleton } from './globe-fallback';5import type { GlobeProps } from './globe';67const Globe = dynamic(() => import('./globe'), { ssr: false, loading: () => <GlobeSkeleton /> });89export function LazyGlobe(props: GlobeProps) {10  return <Globe {...props} />;11}12