framer-performance-tuning

Featured

Optimize Framer API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Framer integrations. Trigger with phrases like "framer performance", "optimize framer", "framer latency", "framer caching", "framer slow", "framer batch".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Framer Performance Tuning ## Overview Optimize Framer plugin, component, and Server API performance. Key areas: CMS sync speed, component render performance, and plugin responsiveness. ## Instructions ### Step 1: Batch CMS Operations ```typescript // Process large collections in batches to avoid timeouts async function batchSync(collection: any, items: any[], batchSize = 50) { const total = items.length; for (let i = 0; i < total; i += batchSize) { await collection.setItems(items.slice(i, i + batchSize)); const progress = Math.min(i + batchSize, total); framer.notify(`Synced ${progress}/${total}`); } } ``` ### Step 2: Optimize Code Component Rendering ```tsx import { memo, useMemo } from 'react'; // Memoize expensive components export default memo(function DataGrid({ data, columns }) { const processedData = useMemo(() => data.map(row => columns.reduce((acc, col) => ({ ...acc, [col.key]: row[col.key] }), {})), [data, columns] ); return ( <div style={{ display: 'grid', gridTemplateColumns: `repeat(${columns.length}, 1fr)` }}> {processedData.map((row, i) => columns.map(col => ( <div key={`${i}-${col.key}`} style={{ padding: 8 }}>{row[col.key]}</div> )))} </div> ); }); ``` ### Step 3: Persistent WebSocket Connection ```typescript // Reuse Server API connection instead of reconnecting each time let clientInstance: any = null; async function getClient() { if (!clientInstance) { const { framer } = awai...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category