<FranciscoVeracoechea/>

  • Articles
  • Bookmarks
  • Snippets

<FranciscoVeracoechea/>

  • Articles

  • Bookmarks

  • Snippets

Snippets

A curated collection of tips, tricks, and reusable code blocks that I've found valuable. It is where I gather experimentation, lerning, and web development discoveries that were worth a share with the world wide web.

  • Type-safe Search ParamsDefines a way to validate and transform URL search parameters into objects using the zod library.
  • Type-safe JSON StringDefines a way to validate and transform JSON strings into objects using the zod library.
  • Async Animation Frames GeneratorAsynchronous generator function that produces a sequence of animation frames.
  • useIntersectionObserverA react hook that observes when a target element intersects with its viewport.
  • useResizeObserverDesigned to monitor the size of a DOM element and update its dimensions whenever the element is resized.
  • withSuspenseHigher-order component that wraps a given component with React's Suspense component.
  • ObserverDefines a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing.
  • DebounceDebouncing is a strategy used to improve the performance of a feature by controlling the time at which a function should be executed.
  • isKeyOfType guard. Determines whether an object has a property with the specified name.
  • Image fallback componentImage React component with fallback handling.
Copyright © 2025|Francisco Veracoechea