import { useEffect, useState } from 'react'; import { Link } from 'react-router-dom'; import { get } from '../lib/api'; import type { SitePhoto, SiteStats } from '../lib/types'; import { PhotoCard } from '../components/PhotoCard'; import { num } from '../lib/format'; export function Home() { const [stats, setStats] = useState(null); const [photos, setPhotos] = useState(null); useEffect(() => { get('/stats').then(setStats).catch(() => setStats(null)); get('/feed?take=8').then(setPhotos).catch(() => setPhotos([])); }, []); return (

Rec Room, kept alive.

DorkNet is a private server for the 2020.03.10 Rec Room client. Browse the photo feed below, find friends, and explore rooms made by the community.

Browse the feed Find players
{stats && (
)}

Latest photos

View all →
{photos === null ?
Loading photos…
: photos.length === 0 ?
No photos yet — be the first to share one from the in-game camera.
:
{photos.map(p => )}
}
); } function Stat({ label, value }: { label: string; value: string }) { return (
{label}
{value}
); }