Awesome write up! I just wrote about doing this same thing using hooks and RxJS if you’re interested in taking a look at a different approach: faircloth.xyz/auto-hiding-sticky-h...
I'll take a look! :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.