shlogg · Early preview
Joodi @miladjoodi

𝗙𝗿𝗼𝗻𝘁-𝗲𝗻𝗱 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 sharing what I learn. I introduce new tools and ideas here—your support means the world! 🚀

Smooth Search With React's UseDeferredValue

UI lag when typing in search bars? Use `useDeferredValue` to prioritize user interactions & delay non-critical updates, keeping UI smooth & responsive. Example: search bar filtering huge dataset with slight delay, not blocking UI.

Fixed Avatar Size With Aspect-Square And Flex-Shrink-0 Classes

Keep your avatar size fixed with `aspect-square` & `flex-shrink-0` classes. This ensures width & height are equal, preventing stretching or changes. Add these 2 classes to maintain a fixed size!

Convert Dates To Iran's Local Time With PersianTime Library

Convert any date or time to Iran's local time with Persian date formatting using PersianTime library. Easy-to-use function for JavaScript/TypeScript projects, handling dates from APIs and accurate time conversion.

How To Change Range Slider Color With Tailwind CSS

To change a range slider color in Tailwind CSS, modify the `accent-*` class. Replace `accent-primary` with a desired color like `accent-red-500`, `accent-blue-500`, or `accent-green-500`.

How To Use JSON Server With Next.js 15 For Mock API Development

Install JSON Server as dev dependency in Next.js project, create db.json file, configure server with scripts in package.json, use --delay flag for simulating latency and implement API calls with fetch and React hooks.

Next.js 15: Leveraging After() For Non-Blocking Tasks

After() method in Next.js 15: schedule tasks like logging & analytics without blocking primary response. Non-blocking execution, versatile usage & stable API make it a powerful tool for background tasks.

Next.js 15 UseRouter Guide: Mastering Client-Side Navigation

Master Next.js 15's useRouter hook for programmatic navigation & access to routing methods. Learn how to use push, replace, back, forward, refresh & prefetch routes with examples & best practices.

GitHub Unfollow Checker: Track Who's Left You

Discover who unfollowed you on GitHub with the Unfollow Checker! Compare current & previous followers, track changes & get insights into your network. Easy to use & hassle-free!

Custom Hooks Showcase React's Flexibility And Power

Custom React hooks showcase flexibility & power, enabling cleaner, reusable & maintainable code. Simplify complex functionality with 6 customizable hooks!

React 19 Cheat Sheet By Kent C Dodds

React 19 Cheat Sheet by Kent C Dodds! 🤩 Learn new features & improvements in React 19 with this concise guide, including code examples. Check it out: https://www.epicreact.dev/react-19-cheatsheet

Customize Checkbox Accent Color With Tailwind CSS

Change checkbox accent color with Tailwind CSS using utilities like accent-*. Example: <input className="accent-blue-600" type="checkbox">

Optimize React Apps With UseCallback For Better Performance

useCallback to the rescue! Saved me from unnecessary re-renders & UI issues. Now my routing works smoothly & code looks cleaner. One of those hooks that feels like magic once you get it

Dynamic Flex Direction Adjustment Based On Language

Dynamic Flex Direction Hook Use `useFlexReverse` hook to automatically adjust flex direction based on language (RTL/LTR). Returns "flex-row-reverse" for English & "flex-row" for Persian & others. Simplify localization with this reusable hook!

Resolving "images.domains" Configuration Is Deprecated In Next.js

Next.js v12.3.0 deprecates images.domains. Update to images.remotePatterns for granular control over external image sources.

5 Common MERN Stack Security Mistakes To Avoid

5 common security mistakes in MERN stack apps: unsecured MongoDB, Express.js XSS vulnerabilities, exposing sensitive data in React state, outdated Node.js dependencies & authentication issues. Protect your app with a practical checklist!

JSON-to-TypeScript: A Game-Changer For Developers

Save time & effort with JSON-to-TypeScript! Paste JSON, get TypeScript types instantly. Speed: ⏱️ Accuracy: 🎯 Saves Time: 🚀 Perfect for devs dealing with JSON often!

Leveraging TinyMCE For Seamless Content Editing

TinyMCE is a powerful rich text editor for web applications, offering customizable features like advanced text formatting, image & media embedding, and code editor plugin. It supports multiple languages and has a wide range of plugins for expansion.

Deploying Node.js Backend To Vercel For Free

Deploying frontends for free? Easy with Vercel, Firebase & GitHub Pages! But when it comes to backend APIs, options shrink. Deploy Node.js backend on Vercel without spending a dime!

Managing State In React With Zustand: A Lightweight Solution

Discover Zustand, a lightweight state management library for React that simplifies state management and reduces boilerplate code.

Tabnine: AI-Powered Code Suggestions For VS Code

Tabnine is an AI-powered plugin for VS Code that makes coding smoother with smart, context-aware code suggestions, providing fast and efficient completions.

Configuring Next.js For External Image Loading

In Next.js, load external images by configuring next.config.js with remotePatterns or disabling image optimization with unoptimized. Choose between optimized flexibility and no optimization for dynamic image sources.

Setting Up ImprovMX Email Forwarding Service For Free

ImprovMX offers free email forwarding service, redirecting emails from your domain to another email address. Easy setup: enter domain & redirect email on ImprovMX website, then update DNS settings in your domain provider.

Level Up Your Web Animations With CSS Tutorials & Examples

Level up your web animations with cssanimation.io! Tutorials, examples & cool resources to craft awesome CSS animations in no time 🎨✨

Enhancing Online Chat Component With Refined Design Features

Enhanced online chat component with refined input field, hover effect on send button and consistent green color theme for better user interaction.