Code Snippets

Tiny code snippets for you to grab and go.

Description
useIntersectionLearn how to get the intersecting element with IntersectionObserver API
useQueryParamsStateLearn how to sync React state with URL search parameters