Skip to main content

Styling a sticky element when it gets pinned using React

In this case, using the scroll event offers more flexibility than using the IntersectionObserver API

Updated 1 min readMarkdown
Part of seriesWebDev

110 views

About the author

  • Senior Full Stack Developer in the ☁️

    Creator of supereffective.gg, a Pokémon community running on Next.js and @vercel

No comments yet. Be the first to comment.

WebDev

Part 1 of 10

Articles about frontend and backend developemnt in JavaScript, TypeScript, NodeJS, ReactJS, ExpressJS, Babel, NextJS, etc...

Up nextBuild your own Full-Stack frameworkFeeling the web developer fatigue? You are not alone!