jscottsmith / react-scroll-parallax

🔮 React hooks and components to create parallax scroll effects for banners, images or any other DOM elements.
https://react-scroll-parallax.damnthat.tv/
MIT License
2.9k stars 158 forks source link

chore: refactor ParallaxProvider to function component #230

Closed jscottsmith closed 1 year ago

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-scroll-parallax ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2023 6:47am
codecov-commenter commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a9ebdd5) 88.88% compared to head (9ccae5c) 89.13%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #230 +/- ## ========================================== + Coverage 88.88% 89.13% +0.24% ========================================== Files 23 23 Lines 234 230 -4 Branches 49 44 -5 ========================================== - Hits 208 205 -3 + Misses 25 24 -1 Partials 1 1 ``` | [Files](https://app.codecov.io/gh/jscottsmith/react-scroll-parallax/pull/230?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=J+Scott+Smith) | Coverage Δ | | |---|---|---| | [...c/components/ParallaxProvider/ParallaxProvider.tsx](https://app.codecov.io/gh/jscottsmith/react-scroll-parallax/pull/230?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=J+Scott+Smith#diff-c3JjL2NvbXBvbmVudHMvUGFyYWxsYXhQcm92aWRlci9QYXJhbGxheFByb3ZpZGVyLnRzeA==) | `100.00% <100.00%> (+4.00%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 year ago

size-limit report 📦

Path Size
dist/react-scroll-parallax.cjs.production.min.js 5.85 KB (-4.97% 🔽)
dist/react-scroll-parallax.esm.js 975 B (-83.72% 🔽)
raRaRa commented 1 year ago

Hopefully this solves all the issues with Nextjs 14 🙏