MattQ · Writing25 articles RSS

Thoughts on code & craft.

Deep dives on Roblox dev, web tooling, game design, and building things that actually ship.

25 articles

  1. Roblox Data Loss: Why Your Progress Disappeared and What to Do (2026)Lost your progress in a Roblox game? Learn why data loss happens, who can restore it, what to do as a player, and how developers recover data from DataStore versions.7 min read
  2. Why Does 100vh Break on Mobile? Use dvh InsteadYour full-screen hero is cut off by the mobile browser's address bar. Here's why 100vh misbehaves and the one-line CSS fix.3 min read
  3. Arduino: Why You Should Use millis() Instead of delay()delay() freezes your whole Arduino. Learn the millis() pattern to blink LEDs, read buttons and update a display at the same time.3 min read
  4. How to Publish Your First npm Package (Step by Step)From an empty folder to 'npm install my-package' in 10 minutes. The minimal setup, the mistakes to avoid, and how to test before publishing.2 min read
  5. How to Avoid GitHub API Rate Limits on a Static WebsiteShowing your repos or stats on a portfolio? The GitHub API blocks you after 60 requests per hour. Here are 3 ways to stay under the limit.3 min read
  6. How to Deploy a Next.js Site to GitHub Pages for FreeYes, Next.js works on GitHub Pages. Set up a static export and a GitHub Actions workflow in about 5 minutes.3 min read
  7. How to Fix 'Hydration Failed' Errors in Next.jsText content does not match server-rendered HTML? Here are the 5 usual suspects behind Next.js hydration errors and the quick fix for each.3 min read
  8. Why Does useEffect Run Twice in React? (And How to Fix It)Your effect fires twice in development and you think React is broken. It isn't — here's what Strict Mode is doing and how to write effects that survive it.3 min read
  9. Why Does My Roblox Game Get Slower Over Time? Memory Leaks in LuauIf your server lags after 30 minutes, you probably have leaked connections. Here's how to find them and clean them up.3 min read
  10. How to Stop Exploiters From Abusing Your RemoteEventsExploiters can fire any RemoteEvent with any arguments. Learn the 4 server-side checks that keep your Roblox game safe.3 min read
  11. Fix 'Infinite Yield Possible' on WaitForChild in RobloxYour output says 'Infinite yield possible on WaitForChild' and your script hangs. Here are the 4 real causes and how to fix each one.3 min read
  12. How to Build a Finite State Machine in Luau (With Real Roblox NPC Examples)If/else chains don't scale. Here's how to architect clean, debuggable NPC behavior using a finite state machine in Luau strict mode — with real code from a shipped multiplayer shooter.9 min read
  13. ProfileService vs DataStore2 in Roblox Studio: The 2026 Developer's GuideRaw DataStores will lose your players' data. Here's a complete, practical breakdown of ProfileService vs DataStore2 — with real Luau code, session locking explained, and how to migrate without data loss.9 min read
  14. React Server Components vs. Client Components: A Practical Decision FrameworkNot everything needs 'use client'. Here's how to actually decide where the server/client boundary goes in your Next.js App Router app — with real patterns, tradeoffs, and a decision tree you can use today.9 min read
  15. C++ for JavaScript Devs: Understanding Memory Management Without PanickingPointers sound terrifying until someone explains them in plain English. A web developer's guide to the C++ concepts that actually matter — without the computer science textbook.7 min read
  16. Dark Mode is More Than Just #000: Designing High-Contrast InterfacesInverting colors isn't dark mode — it's eye strain with a dark background. Here's how elevation, gray scales, and WCAG ratios combine to make a genuinely accessible dark UI.5 min read
  17. The DataStore Safety Manual: How to Prevent Player Data LossData wipes destroy Roblox games overnight. Learn how UpdateAsync, session locking, and ProfileService protect your players — and your reputation.5 min read
  18. Figma to Code: The Workflow for Pixel-Perfect ImplementationThe gap between a beautiful Figma design and a polished coded result isn't a talent gap — it's a workflow gap. Here's the exact process I use to close it.6 min read
  19. The Clean Code Guide for Roblox: Moving Beyond Spaghetti ScriptsMost Roblox devs start with one giant script. Here's how to architect your game like a professional studio — using ModuleScripts, separation of concerns, and single-script frameworks.5 min read
  20. Micro-Animations: The Secret to Making Your App Feel 'Premium'Your app works perfectly and still feels flat. Here's the 200ms gap between functional and delightful — and how to close it with motion design.6 min read
  21. UX for Games: Why Your Simulator's First 30 Seconds Are FailingPlayers join, get confused, and leave. Here's what I learned from 3.2 million visits on a Roblox simulator about FTUE, button placement, and the kind of 'juice' that keeps players engaged.6 min read
  22. Why Your React App is Slow: 5 Common Re-rendering TrapsYour components are re-rendering way more than they need to. Here's exactly why — and how useMemo, useCallback, and smarter Context usage will make your app feel instant.5 min read
  23. Stop Using Pixels: Making Your React Apps Truly Responsive with Tailwind CSSMost developers hardcode pixel values and wonder why their UIs fall apart on mobile or ultrawide screens. Here's how rem, em, and fluid typography with clamp() fix that permanently.5 min read
  24. How I Got 3.2 Million Visits on a Roblox Game in 6 MonthsA developer breakdown of the systems, monetization strategy, and growth tactics behind Brawl Stars Pet Simulator — from launch to DMCA takedown.3 min read
About the author

Want to see what I build?

I’m MattQ. I make Roblox games, web tools, and open-source experiments. Check out my portfolio to see projects with 3M+ visits, thousands of downloads, and more.

View portfolio