Chess on the ATmosphere checkmate.blue
chess
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add lazy-load auth to roadmap for bundle size reduction

+8
+8
docs/ROADMAP.md
··· 47 47 48 48 ## Medium Priority 49 49 50 + ### Lazy-Load Auth / Reduce Bundle Size 51 + 52 + The `@atproto/api` + OAuth bundle is ~854 KB (169 KB gzipped) and loads for every visitor including spectators. Dynamically import the auth module only when the user clicks "Sign in" so unauthenticated visitors never pay the cost. 53 + 54 + - Wrap `createOAuthClient` and `auth.init` behind a dynamic `import()` 55 + - Spectators and first-time visitors see the page instantly without loading the AT Protocol SDK 56 + - Authenticated users load the SDK on demand (cached after first load) 57 + 50 58 ### Push Notifications 51 59 52 60 Browser Notification API for turn alerts, especially useful when both players aren't staring at the screen.