vercel-composition-patterns
Skill111k starsChanged 2 months agoApache-2.0View on GitHub
React composition patterns that scale. Use when refactoring components with
61 other projects use a version of this, 60 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- gilsmt/skillsedited, first seen Oct 4, 2026
- calesthio/OpenMontageedited, first seen Oct 3, 2026
- STIFLEUR390/kwiktalk-docsedited, first seen Oct 3, 2026
- delorenj/skillsedited, first seen Oct 2, 2026
- marcellocurto/skillsedited, first seen Oct 2, 2026
- compozy/compozyedited, first seen Oct 1, 2026
Who's talking about supabase/supabase
- A Hacker News story“Supabase open sourced their dashboard”Hacker News · Dec 1, 2021 · 331 points
- supabase/postgrest-js“Allow long-running transactions at the client side or do relational inserts”GitHub · Nov 2, 2021 · 121 reactions
- supabase/auth-js“Can't get rid of getUser() warning”GitHub · Mar 31, 2024 · 89 reactions
- supabase/supabase-js“Acquiring an exclusive Navigator LockManager failed”GitHub · Jan 2, 2024 · 69 reactions
- supabase/supabase-js“Still having getSession warning whenever _saveSession is called”GitHub · May 17, 2024 · 68 reactions
The biggest 5 of 80 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 80
Talked about on Bluesky, GitHub and Hacker News (80 times).
On Bluesky · 50
- Nov 26, 2024📦 supabase / supabase ⭐ 74,138 (+62) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social18 likes and reposts · 2 replies
- Mar 2, 2025📦 supabase / supabase ⭐ 78,242 (+49) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social14 likes and reposts
- Nov 15, 2024📦 supabase / supabase ⭐ 73,721 (+77) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social12 likes and reposts
- Oct 5, 2024📦 supabase / supabase ⭐ 72,296 (+45) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social10 likes and reposts
- Sep 2, 2024📦 supabase / supabase ⭐ 71,084 (+33) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social10 likes and reposts · 1 reply
45 more on Bluesky
- Oct 22, 2024📦 supabase / supabase ⭐ 72,893 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social9 likes and reposts
- Feb 9, 2025📦 supabase / supabase ⭐ 77,109 (+63) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social8 likes and reposts · 1 reply
- Mar 23, 2025📦 supabase / supabase ⭐ 79,628 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Mar 9, 2025📦 supabase / supabase ⭐ 78,642 (+57) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending.bsky.social7 likes and reposts
- Mar 6, 2025📦 supabase / supabase ⭐ 78,475 (+69) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Sep 18, 2024📦 supabase / supabase ⭐ 71,657 (+41) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Feb 17, 2025📦 supabase / supabase ⭐ 77,500 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social6 likes and reposts
- Feb 22, 2025📦 supabase / supabase ⭐ 77,818 (+55) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social5 likes and reposts
- Dec 20, 2024📦 supabase / supabase ⭐ 75,163 (+46) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social5 likes and reposts · 1 reply
- Aug 6, 2025📦 supabase / supabase ⭐ 86,619 (+51) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social4 likes and reposts
- May 27, 2025📦 supabase / supabase ⭐ 83,497 (+73) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- May 18, 2025📦 supabase / supabase ⭐ 82,966 (+65) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- Mar 31, 2025📦 supabase / supabase ⭐ 80,043 (+57) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- Sep 11, 2025📦 supabase / supabase ⭐ 88,289 (+76) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending.bsky.social3 likes and reposts
- Sep 9, 2025📦 supabase / supabase ⭐ 88,154 (+38) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social3 likes and reposts
- Jul 10, 2025📦 supabase / supabase ⭐ 85,507 (+84) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social3 likes and reposts
- Nov 4, 2026Postgres plus auth, storage, realtime, edge functions and instant APIs, all open source. 🔗 github.com/supabase/supabase Credits:… — @prosperflowio.bsky.social2 likes and reposts
- Oct 21, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 supabase / supabase ⭐ 112,619 (+509) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Oct 15, 2026📦 supabase / supabase ⭐ 111,522 (+98) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Sep 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 109,394 (+118) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending.bsky.social2 likes and reposts
- Aug 27, 2026📦 supabase / supabase ⭐ 108,421 (+45) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Jun 18, 2026📦 supabase / supabase ⭐ 104,439 (+97) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Jun 6, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 103,672 (+188) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts
- Jan 9, 2026📦 supabase / supabase ⭐ 95,874 (+78) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Dec 1, 2025Supabase @supabase - your open-source backend. Firebase alternative built on Postgres. Features 👇 - Auth, DB, storage & functions -… — @danshipit.bsky.social2 likes and reposts · 1 reply
- Nov 1, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 supabase / supabase ⭐ 91,288 (+363) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Sep 25, 2025📦 supabase / supabase ⭐ 89,095 (+61) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Aug 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 86,968 (+110) 🗒 TypeScript The Postgres development platform. Supabase gives you… — @github-trending-js.bsky.social2 likes and reposts
- May 6, 2025📦 supabase / supabase ⭐ 82,217 (+74) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- May 2, 2025📦 supabase / supabase ⭐ 81,889 (+61) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Apr 26, 2025📦 supabase / supabase ⭐ 81,549 (+78) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Sep 22, 2024📦 supabase / supabase ⭐ 71,853 (+60) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Jun 11, 2024📦 supabase / supabase ⭐ 67,560 (+38) 🗒 TypeScript The open source Firebase alternative. — @github-trending-js.bsky.social2 likes and reposts
- Feb 8, 2024📦 supabase / supabase ⭐ 62,724 (+45) 🗒 TypeScript The open source Firebase alternative. — @github-trending-js.bsky.social2 likes and reposts
- Sep 2, 2023📦 supabase / supabase ⭐ 56,112 (+43) 🗒 TypeScript The open source Firebase alternative. Follow to stay updated about our public Beta. — @github-trending-js.bsky.social2 likes and reposts
- Jul 10, 2023📦 supabase / supabase ⭐ 52,961 (+37) 🗒 TypeScript The open source Firebase alternative. Follow to stay updated about our public Beta. — @github-trending-js.bsky.social2 likes and reposts
- Nov 13, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 114,916 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Oct 12, 2026The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications. 🔗… — @vritrasec.bsky.social1 likes and repost
- Jul 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 106,150 (+158) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Jul 3, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 105,238 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Jul 3, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 105,237 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending.bsky.social1 likes and repost
- Jan 5, 2026github.com/supabase/supabase GitHub - supabase/supabase: The Postgres development platform. Supabase gives you a dedicated Po... — @technews4869.bsky.social1 likes and repost
- Oct 6, 2025📦 supabase / supabase ⭐ 89,606 (+65) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social1 likes and repost
- Sep 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 88,563 (+143) 🗒 TypeScript The Postgres development platform. Supabase gives you… — @github-trending-js.bsky.social1 likes and repost
- Sep 13, 2025supabase/supabase The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
On GitHub · 25
- Nov 2, 2021Allow long-running transactions at the client side or do relational inserts — supabase/postgrest-js121 reactions · 51 comments
- Mar 31, 2024Can't get rid of getUser() warning — supabase/auth-js89 reactions · 122 comments
- Jan 2, 2024Acquiring an exclusive Navigator LockManager failed — supabase/supabase-js69 reactions · 94 comments
- May 17, 2024Still having getSession warning whenever _saveSession is called — supabase/supabase-js68 reactions · 22 comments
- Oct 19, 2023Proposal: throwOnError should be default behavior — supabase/supabase-js50 reactions · 16 comments
20 more on GitHub
- Jul 19, 2023Stack guards not supported in this environment — supabase/auth-js40 reactions · 48 comments
- Jul 4, 2021Filter source table based on the embedded table(inner join) — supabase/postgrest-js39 reactions · 34 comments
- Jul 15, 2023Json type: Type instantiation is excessively deep and possibly infinite. — supabase/supabase-js36 reactions · 30 comments
- Apr 24, 2024user object warning logged, even when not touching `session.user` — supabase/supabase-js35 reactions · 118 comments
- Jul 18, 2021Support multiple columns filter (AND) in realtime channel filter — supabase/realtime-js35 reactions · 48 comments
- Nov 19, 2021Signed urls for upload — supabase/storage33 reactions · 17 comments
- Jun 12, 2021Allow users to BYO S3-compatible storage backend — supabase/storage33 reactions · 22 comments
- Jul 6, 2021Allow configuration of OAuth2 redirect domain in hosted supabase console — supabase/auth31 reactions · 22 comments
- May 29, 2025supabase docker image 15.8.1.094 does not start on local development with CLI — supabase/cli28 reactions · 43 comments
- Jul 16, 2021Allow user to map custom domain to callback url on Sign with OAuth Provider — supabase/auth26 reactions · 1 comment
- Jul 15, 2025Local server unable to start due to analytics bucket — supabase/cli25 reactions · 25 comments
- Aug 4, 2023Wrong type for joins with one-to-one relationships — supabase/postgrest-js25 reactions · 21 comments
- Jan 10, 2022feat: adds support for wildcards in redirect URIs — supabase/auth22 reactions · 7 comments
- Jan 22, 2021feat(v2): Webpack 5, PostCSS 8 — meta/docusaurus14 reactions · 22 comments
- Oct 25, 2023Update images to match official Supabase Docker compose — supabase-community/supabase-kubernetes11 reactions · 46 comments
- Oct 3, 2022feat: Support for OAuth callback proxy. — supabase/auth11 reactions · 23 comments
- Jan 14, 2022feat: add kubernetes support with Helm — supabase-community/supabase-kubernetes8 reactions · 8 comments
- May 14, 2022Allow to override Supabase service URLs in client — supabase/supabase-js6 reactions · 8 comments
- Oct 3, 2022feat: Support for OAuth callback proxy — supabase/auth-js5 reactions · 1 comment
- Sep 12, 2026Make the iPix Supabase skill load reliably and document safer Edge deployments — amoai-tech/ipixai4 reactions · 3 comments
On Hacker News · 5
- Dec 1, 2021Supabase open sourced their dashboard331 points · 39 comments
- Apr 4, 2020Show HN: Realtime Slack clone using Postgres29 points · 4 comments
- Jul 30, 2020Show HN: A Slack Clone Using Postgres Row Level Security6 points · 1 comment
- Jul 28, 2021Supabase: Open-Source Firebase Alternative4 points
- Feb 10, 2025Select Query Returns Empty Array Despite Existing Data with RLS Enabled #334991 point · 1 comment
Used with
Projects with it also use next-cache-components, vercel-react-native-skills and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillnext-cache-components
Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag
Also in 5 projects that use this
VercelSkillvercel-react-native-skills
Also in 13 projects that use this
JetBrainsSkilldeploy-to-vercel
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Also in 7 projects that use this
xfstudioSkillnodejs-backend-patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
Also in 3 projects that use this
beshkenadzeSkilltypescript-advanced-types
Advanced TypeScript types (generics, conditionals, mapped, utilities). Use when building type-safe libraries or implementing complex type logic.
Also in 4 projects that use this
- +7 more from vercel-labs
Other versions61 projects use a version of this.
Word for word · 0
None found.
Edited · 60
- calesthio/OpenMontage★ 63k83% same
- vercel-labs/agent-skills★ 32k97% same
- open-metadata/OpenMetadata★ 15k97% same
- zebbern/claude-code-guide★ 4.6k97% same
- compozy/compozy★ 2.8k97% same
- vercel-labs/openreview★ 1.7k97% same
- pedronauck/skills★ 63397% same
- GoogleCloudPlatform/devrel-demos★ 37897% same
- JetBrains/skills★ 36089% same
- julianromli/ai-skills★ 19297% same
50 more not listed
Wrote their own version · 1
- coder-zhuzm/vercel-react-skills-zh★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/docs/AGENTS.mdAGENTS.md
- apps/kb/AGENTS.mdAGENTS.md
- apps/studio/AGENTS.mdAGENTS.md
- apps/docs/CLAUDE.mdCLAUDE.md
- apps/kb/CLAUDE.mdCLAUDE.md
- apps/studio/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- apps/learn/public/llms.txtllms.txt
- api-typesSkill
- ask-the-docsSkill
- clickhouse-logs-queriesSkill
- copywritingSkill
- dev-toolbar-reviewSkill
- edit-the-docsSkill
- pm-the-docsSkill
- react-hook-formSkill
- review-the-docsSkill
- safe-sql-executionSkill
- studio-e2e-testsSkill
- studio-error-handlingSkill
- studio-mock-api-testsSkill
- studio-queriesSkill
- studio-shortcutsSkill
- studio-testingSkill
- studio-ui-patternsSkill
- telemetry-standardsSkill
- test-the-docsSkill
- vitestSkill
- write-the-docsSkill
- explorerSkill
The file
We split this skill into the rules it gives an agent
1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 60 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 72
Read individual rule files for detailed explanations and code examples:
“Common” is measured: kept by at least 6 in 10 of the 60 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Composition Patterns
Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.
When to Apply
Reference these guidelines when:
- Refactoring components with many boolean props
- Building reusable component libraries
- Designing flexible component APIs
- Reviewing component architecture
- Working with compound components or context providers
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
| 1 | Component Architecture | HIGH | architecture- |
| 2 | State Management | MEDIUM | state- |
| 3 | Implementation Patterns | MEDIUM | patterns- |
| 4 | React 19 APIs | MEDIUM | react19- |
Quick Reference
1. Component Architecture (HIGH)
architecture-avoid-boolean-props- Don't add boolean props to customize behavior; use compositionarchitecture-compound-components- Structure complex components with shared context
2. State Management (MEDIUM)
state-decouple-implementation- Provider is the only place that knows how state is managedstate-context-interface- Define generic interface with state, actions, meta for dependency injectionstate-lift-state- Move state into provider components for sibling access
3. Implementation Patterns (MEDIUM)
patterns-explicit-variants- Create explicit variant components instead of boolean modespatterns-children-over-render-props- Use children for composition instead of renderX props
4. React 19 APIs (MEDIUM)
⚠️ React 19+ only. Skip these patterns if you're on React 18 or earlier.
react19-no-forwardref- Don't useforwardRef; useuse()instead ofuseContext()
How to Use
Read individual rule files for detailed explanations and code examples:
rules/architecture-avoid-boolean-props.md
rules/state-context-interface.mdEach rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Additional context and references
Full Compiled Document
For the complete guide with all rules expanded, read the files under rules/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

