2022
👨⚖️ How to assign ref in forwardRef component
How to assign multiple refs to a react component wrapped with forwardRef. Copy-paste solution.
💅 How to implement horizontal media scroller component in React with CSS only
A copy-paste snippet for implementing a swipeable carousel or so called media scroller component. Built with almost no-JS.
2021
♻️ Reusing SVG elements in HTML without copy-pasting it
784 views
Snippet for reusing SVG elements in HTML without copy-pasting it. Example made in React.js