DevIdiot!
Framer animations and scroll effects in Next.js with motion
Framer animations carry over to Next.js as plain TypeScript on the motion package (motion/react, formerly framer-motion). In a project converted by Deframer, appear effects, scroll-triggered and scroll-linked transforms, Scroll Speed parallax, sticky layers, hover and press states, variants and page transitions keep their timing, and springs keep their stiffness, damping and mass. A small helper kit in src/lib/deframer plays them, with no Framer runtime. Animations run on motion the same way if
Fifty code reviews of junior React projects taught me one thing
For a year and a half I reviewed junior developers' React projects. Over 50 of them, across cohorts, after teaching the same people a curriculum I wrote. Different faces, same five mistakes.The interesting part is not the list. It is that telling someone the mistake fixed almost nothing, and showing them the cost fixed it in a week. The five, in order of frequency1. State in the wrong place. A form's input values held at the page level, so every keystroke re-renders the whole screen. Or the
Agree the API contract before you build the screen
The sprint was going fine until integration day. The screen was built, the endpoint was built, and they did not fit.The frontend expected { results: [...] }. The backend returned { data: { items: [...] } }. The date was a string in one and a number in the other. The error case returned a 200 with success: false, which the UI treated as success. None of these were anyone's fault, and all of them cost two days.This happened often enough that we changed how we start features, not how we finish them
The same screens kept breaking after every release. Here's where I put the tests.
Every release, the same parts of the app broke. Checkout. The account settings form. The order list. Not new features - the same handful of screens, again and again, each time discovered by a user instead of by us.The reflex is "we need more tests". That is not a plan. The real question is where the tests go, because a thousand tests in the wrong place give you a slow suite, a false sense of safety, and the same regressions. The diagnosis before the fixI looked at the last few months of bug
A React app Google couldn't read: moving from CSR to Next.js without breaking the product
The app was fine. Fast enough, clean code, happy users. The problem was that the people who needed to find it could not: search engines were getting an empty <div id="root"></div> and a script tag.It was a client-side rendered React app. Every page was assembled in the browser after the JavaScript downloaded, executed, and fetched data. Google can run JavaScript, but it is slow, unreliable, and it does not run your JavaScript the way your users' browsers do. For a business whose grow
The app felt slow and nobody could say why. Three tools found it in an afternoon.
The ticket said the app felt slow. No screen, no device, no time of day. Everyone had a theory: the API, the images, React itself, the phone. Nobody had a measurement.That is the real problem. "Slow" is not something you can assign to a person or fix in a pull request. Before touching a line of code I needed three answers from three places: what re-renders, what the network does, and how much JavaScript the browser has to download before it can paint anything.Here is the pass I ran, in order, an
JSON-LD in Next.js 16 App Router: SoftwareApplication, FAQPage, and 3 traps I tested
The Next.js docs recommend one thing for JSON-LD: render a plain <script type="application/ld+json"> from your layout.js or page.js. The traps are around it: a product name with </script> in it runs code on your page, next/script keeps the data out of your HTML, and Google changed what it shows for SoftwareApplication and FAQPage.I built every snippet below in a fresh create-next-app project on Next.js 16.5.0, React 19.3.1, TypeScript 5.9.3 and schema-dts 2.1.0, ran next build and ne
I turned my bank statement into a haunted graveyard. Here's how Kiro helped me build it.
I wrote this post for Kiroween 2026, the Kiro hackathon, where I entered Ledger Mortis in the Costume Contest category.Most of us cannot say where our money went last month. The charges that hurt most are the quiet ones: the gym you stopped going to, the streaming service you forgot, the cloud storage you never use. Budget apps show them as rows in a table, and rows are easy to ignore.So I built the opposite: a place you remember.Ledger Mortis turns pasted transactions into a graveyard at midnig
Enabled but Invisible: Debugging a Model Access Toggle
AI assistance disclosure: This article was produced with AI assistance as an educational draft. The team preparing material on the MonkeyAI project commissioned it. It is a debugging write-up about editor state and access checks, not a product review or endorsement. Source claims are limited to the cited pinned files; proposed UI changes and verification steps were not executed.Consider a support scenario: an operator opens the admin model editor, flips a model to enabled, saves, and tells a tea
Building a 3D Virtual Pharmacology Lab in the Browser with React Three Fiber
Pharmacology practicals are hard to practise. Students usually watch one demonstration, copy the readings and move on. At CologyLabs we started by recording 55+ practicals as guided videos for B.Pharm and B.V.Sc students. That fixed visibility, but students were still watching, not doing.So for Phase 2 we're turning those experiments into an interactive 3D lab in the browser: the student walks around the lab, picks up the animal, weighs it, calculates a dose, injects it and runs a test like the
What is Sanity CMS: a plain guide for website teams
By Pavlo Zhydkykh. Originally published on orangeorange.agency.Sanity CMS is a headless content management system. Editors write in Sanity Studio, the content lives in Sanity's hosted Content Lake, and the website reads it through an API. It fits when a developer builds the front end, for example in Astro. What decides it: who builds the pages, how structured the content is and how many seats you need. Key takeawaysHeadless CMS. Sanity stores content and serves it through an API. The pages
MCMXCIV is not a string to memorize
Every developer has stared at a film copyright line, a Super Bowl number, or a clock face and tried to read the year in Roman numerals. MCMXCIV. It looks like a password, but it is a tiny algorithm, and once you see it you can read any of them in your head.Here is the whole job, in plain JavaScript:const TABLE = [ [1000, 'M'], [900, 'CM'], [500, 'D'], [400, 'CD'], [100, 'C'], [90, 'XC'], [50, 'L'], [40, 'XL'], [10, 'X'], [9, 'IX'], [5, 'V'], [4, 'IV'], [1, 'I'],];function toRoman(n) { let ou
Preventing Cross-Account Cache Leaks and Hardening TTL Parsing in JavaScript (With Vitest)
Caching API responses in browser extensions and frontend apps looks simple—until a user switches accounts, toggles an auth token, or enters an invalid cache duration in settings.While working on FOSSASIA's Scrum Helper, we ran into two subtle bugs that show up in almost every client-side caching layer:Cross-account / stale-auth cache leaks when cache keys ignore token state or leak raw secrets into local storage.Silent TTL corruption when browser.storage.local returns unexpected strings, zero/ne
FreeRouter: Turn Your Logged-In AI Browser Tabs into a Local OpenAI API (Zero API Keys)
Most of us already pay $20/month for ChatGPT Plus, Gemini Pro, or Claude Pro (or use free web tiers) — yet every external app, script, or coding agent still asks for separate paid API keys.So I built FreeRouter: a 100% local (127.0.0.1) OpenAI-compatible API server + MV3 browser extension that routes prompts directly through your already-logged-in ChatGPT, Claude, Gemini, DeepSeek, and Perplexity browser tabs.GitHub (MIT): https://github.com/Deepak-Sahu-2376/FreeRouter Why Not <iframe>
Build a Sponsored Listings Ranker in Node.js: Organic + Paid Results in One Response
Imagine you're building a food delivery app.Your search algorithm already ranks restaurants based on relevance, distance, ratings, and delivery time.Now your product team wants to introduce sponsored restaurants.Sounds simple, right? Move the paying restaurant to the top.But what happens if that restaurant is closed? What if it doesn't deliver to the user's location? What if the user has already seen its advertisement five times today?Suddenly, sponsored listings become more than an advertising
How to Automate Real-Time Web Application Testing Using Playwright
Testing a web application involves more than checking whether individual pages open correctly. Testers must verify complete user journeys, including registration, authentication, navigation, data submission, and application responses.End-to-end automation testing helps validate these workflows by simulating how users interact with a website.Playwright is a modern automation framework that allows testers to create scripts for these scenarios. Its browser automation capabilities, locator strategie
HubSpot turns off Pipelines API v1 tomorrow. I checked who still calls it
Tomorrow, December 4, HubSpot turns off version 1 of its Pipelines API. The changelog is short: "V1 endpoints will stop responding after this date", move to the 2026-09 version. It doesn't list paths, but there are two old ones that matter: /crm-pipelines/v1/pipelines/{objectType} and the even older /deals/v1/pipelines. Singer's tap-hubspot treats the second one as part of the same sunset, and I checked both this afternoon: they still answer 401 without a key (a dead route here gives 404), so fo
How I built placeholders that hand over to the real content
Dotquilt is a set of skeleton loaders that turn into your content instead of disappearing. This is how the handoff works, and what it took to make it accessible, server-rendered and safe under a strict Content Security Policy.This article first appeared on dotquilt.dev, where its demos are live. The swap is the problemSkeleton screens are a good idea. Grey bars hold the shape of the page while the data loads, so people know what's coming. Then the data arrives, the bars vanish, and the cont
Format Rupees the Indian Way in JavaScript (Lakh, Crore and Intl.NumberFormat)
If you build anything for Indian users, sooner or later someone will look at ₹123,456.78 and tell you it looks wrong. In India that amount is written ₹1,23,456.78: the first group has three digits, and every group after that has two. Ten lakh is 10,00,000, one crore is 1,00,00,000.The good news: you don't need a library or a regex for this. Intl.NumberFormat already knows the Indian system. Here's a small set of helpers I use, plus the two mistakes that cause most rupee bugs. 1. The one-lin
How to Split and Merge VCF Contact Files in Your Browser
Exporting your contacts from an iPhone, Android device, or Google Contacts often creates an unwieldy .vcf file packed with thousands of entries.While having a master backup is convenient, massive contact files cause immediate headaches:Web import limits: Cloud services like Google Contacts, iCloud, and standard CRM platforms often time out or refuse uploads when a single file exceeds a few megabytes or contains thousands of contacts.Scattered contact files: Transferring address books across mult