feat: add Astro, Svelte, and Nuxt.js wrapper components#109
feat: add Astro, Svelte, and Nuxt.js wrapper components#109Muneerali199 wants to merge 2 commits intoAOSSIE-Org:mainfrom
Conversation
- Added social-share-button-astro.astro for Astro framework - Added social-share-button-svelte.svelte for Svelte/SvelteKit - Added social-share-button-nuxt.vue for Nuxt.js/Vue 3 - All wrappers include SSR guards (typeof window checks) - Follow the same pattern as the existing React wrapper Fixes AOSSIE-Org#46, AOSSIE-Org#47, AOSSIE-Org#48
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Addressed Issues:
Fixes #46, #47, #48
Screenshots/Recordings:
N/A (library code only)
Additional Notes:
This PR adds native framework wrappers for three popular frameworks:
Added files:
src/social-share-button-astro.astro- Astro component with client-side hydrationsrc/social-share-button-svelte.svelte- Svelte/SvelteKit componentsrc/social-share-button-nuxt.vue- Nuxt.js/Vue 3 componentKey features:
typeof window !== 'undefined')Usage Examples:
Astro:
Svelte:
Nuxt/Vue:
Checklist
AI Usage Disclosure