mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 03:06:42 +02:00
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
647 B
TypeScript
23 lines
647 B
TypeScript
import { Platform } from 'react-native';
|
|
|
|
// Scroll-related constants
|
|
export const SCROLL_THRESHOLD = 100;
|
|
export const SCROLL_TO_INDEX_DELAY = 100;
|
|
export const CLEAR_LAST_VIEWED_DELAY = 600;
|
|
|
|
// Gesture-related constants
|
|
export const PINCH_DEBOUNCE_MS = 300;
|
|
export const PINCH_OUT_SCALE = 1.15;
|
|
export const PINCH_IN_SCALE = 0.85;
|
|
|
|
// Prefetch-related constants
|
|
export const PREFETCH_DEBOUNCE_MS = 500;
|
|
|
|
// FlatList performance props
|
|
export const FLATLIST_PERFORMANCE_PROPS = {
|
|
removeClippedSubviews: Platform.OS === 'android',
|
|
maxToRenderPerBatch: 10,
|
|
windowSize: 5,
|
|
initialNumToRender: 6,
|
|
updateCellsBatchingPeriod: 50,
|
|
} as const;
|