PinnedInGeek CulturebyRicciuti Paolo·Jul 2, 2021Lazy Loading images with React.js and IntersectionObserverApiThe web is fast. Like superfast. I mean you can literally talk with the other end of the world in a matter of (depending on your…
Ricciuti Paolo·Jul 5, 2022How to be original on the web. SPOILER: you can’t!While writing this Medium ask me to “Write my story” and today that’s exactly what i want to tell you: a story.
InGeek CulturebyRicciuti Paolo·Jan 21, 2022useCallbackState: the hook that let you run code after a setState operation finished.The state in functional component in React is managed by the useState hook. This hook returns a tuple (an array with two elements, but you…A response icon2A response icon2
Ricciuti Paolo·Dec 20, 2021How to check for media queries in svelte with useMediaQueryMedia queries are a very useful tool in css. They let you define styles based on certain media characteristics like screen width, screen…A response icon4A response icon4
InGeek CulturebyRicciuti Paolo·Nov 21, 2021Unlock the power of CTRL+Z in React state with useHistoryStateCTRL+Z is the developer best friend. You screwed your code at the point it’s no longer recognizable? Just CTRL+Z a bunch of times and…
InGeek CulturebyRicciuti Paolo·Oct 20, 2021Run code on component unmount with the custom hook “useOnUnmount”React Hooks: a cool addition to React since version 16.8.0.
InGeek CulturebyRicciuti Paolo·Oct 17, 2021Abstract layouts with Higher Order Components (HOC) in React.Back in the days it was very difficult to create a website with a consistent layout. If you wanted you would need to use iframes in the…