Snippets
Code I reach for.
Small, reusable pieces — hooks, helpers and cheat sheets I use across projects.
- Creating Collections with Repeating Elements in KotlinLearn how to create different collections such as Lists, MutableLists, or even Arrays with repeating elements in them
- Git Cheat SheetBoost your Git proficiency effortlessly with this essential Git cheat sheet, designed to rescue you from command-related headaches.
- useMountedAvoid weird SSR issues whether you're rendering on the client or server
- useSafeAsync HookSafely avoid setting state on unmounted components.
- useDebounce HookDebounce a fast-changing value like input or search queries.
- Conditional RenderingTrick for writing cleaner conditional rendering