mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
Phase 1 of applesauce helpers refactoring plan. Removed useMemo from direct applesauce helper calls since these helpers cache their results internally using symbol-based caching. This improves code clarity without sacrificing performance. Changes: - ArticleRenderer.tsx: removed useMemo from getArticleTitle, getArticleSummary - HighlightRenderer.tsx: removed useMemo from 6 highlight helpers - HighlightDetailRenderer.tsx: removed useMemo from 6 highlight helpers - CodeSnippetDetailRenderer.tsx: removed useMemo from 8 NIP-C0 helpers - ChatView.tsx: removed useMemo from getNip10References, getTagValue Kept useMemo in LiveActivityRenderer.tsx for parseLiveActivity and related functions since these don't implement their own caching (noted for future optimization). All tests pass (607 tests).