Mike
banner
mostlyfocused.com
Mike
@mostlyfocused.com
I'm a full stack web dev who likes to write technical articles. https://mostlyfocused.com
Reposted by Mike
Don't [...spread] or .split() your strings!

Use Intl.Segmenter API. Available in every JS runtime
October 23, 2025 at 2:55 PM
Reposted by Mike
Stop calling them "cats." They're house gremlins. We just happen to like them
October 15, 2025 at 3:58 PM
AI Coding Sucks
YouTube video by Syntax
www.youtube.com
October 14, 2025 at 7:07 PM
Reposted by Mike
Go take the State of JavaScript 2025 survey if you have a minute! survey.devographics.com/survey/state...
State of JavaScript 2025
Take the State of JavaScript survey
survey.devographics.com
September 27, 2025 at 10:40 PM
Reposted by Mike
August 6, 2025 at 7:45 PM
Reposted by Mike
This demo is incredible: codepen.io/kiranpate1/f...
Skeuomorphism in the Dark
...
codepen.io
August 6, 2025 at 11:10 AM
Reposted by Mike
Screw it, here's all of the google fonts that are actually good categorized by "vibe".

Enjoy.

www.figma.com/design/lWrI1...
August 5, 2025 at 5:33 PM
"Hey Mike, check out my new function: getGlobalStatus"
"What does it do?"
"Oh, it sets Claim messages."
"What does it return?"
"Nothing."
"Do you see any issues with that name?"
"No."

I'm tired boss.
May 20, 2025 at 7:43 PM
I always love reading snippet articles, I feel like there's always some weird new little thing I never thought to try. I tried to pick some that you haven't seen in every other article. The array wrapper has come in clutch several times

mostlyfocused.com/pages/articl...
10 Neat JavaScript Snippets For Algorithms And More
Impress on your next JS interview
mostlyfocused.com
March 31, 2025 at 2:31 PM
Latest piece is out! It's just a few quick tips that helped me when I was learning TypeScript. mostlyfocused.com/pages/articl...
Let's Talk About TypeScript's Learning Curve
Some tips to keep in mind while learning TypeScript
mostlyfocused.com
March 26, 2025 at 3:23 AM
Why use React's conditional rendering to remove a tag when you could instead use a CSS module to always set the height to 1px and then import a different CSS module to conditionally set the height to "auto?" Shitty results, with 4 times the effort! Bonus: it's impossible to test and not accessible!
March 21, 2025 at 3:09 AM
Latest article! It's a quick start to a bunch of my usual libraries

mostlyfocused.com/pages/articl...
React Router, Tanstack Query, Tailwind, And Context Quickstart
Cheat sheets and quick starts
mostlyfocused.com
March 17, 2025 at 11:11 PM
So, uh, should we be learning COBOL because we'll need to fix the crucial systems DOGE is destroying?
February 17, 2025 at 3:25 AM
Reposted by Mike
Do you like this feed? If you do repost this and share it with your friends!
January 8, 2025 at 7:39 PM
Reposted by Mike
<table> highlighting with CSS :has() 💡

td:has(~ td:hover), /* previous sibling cells */
table:has(td:nth-of-type(3):hover) /* column cells */
tr:not(:first-of-type):has(~ tr:hover)
td:nth-of-type(3) {
background: var(--highlighted);
}
February 5, 2025 at 9:07 PM
Reposted by Mike
HTML, CSS, JS & A11y course stack:

- HTML For People by @blakewatson.com: htmlforpeople.com
- Complete CSS by @piccalil.li: complete-css.com
- Joy For JavaScript Developers by @joshwcomeau.com: www.joyforjs.com
- Practical Accessibility by @sarasoueidan.com: practical-accessibility.today
The Practical Accessibility Course
A get-right-down-to-it online course for Web designers and developers who want to start creating more accessible Web user interfaces and digital products today
practical-accessibility.today
February 4, 2025 at 4:28 PM
Reposted by Mike
went through the entire Natural Number Game today! (well, except for the Fermat level 😛)

it’s very well-made, definitely one of the best learning/onboarding experiences i remember

adam.math.hhu.de#/g/leanprove...
Lean Game Server
You need to enable JavaScript to use the Lean Game Server, as it is built using React.
adam.math.hhu.de
February 1, 2025 at 7:31 PM
Latest coding article should help the Jr. Devs with writing their first pull requests

mostlyfocused.com/pages/articl...
How To Make A Good Pull Request, Tips For Jr. Devs
Some tips and guidelines to submitting pull requests that get approved
mostlyfocused.com
January 28, 2025 at 3:42 PM
Fun JS fact that might pop up: `formElement.submit()` will bypass your onSubmit handler and directly submit the form. But `.requestSubmit()` will trigger it like you'd expect! Here's an example with React, but it's a Form API, so it'll work anywhere.

developer.mozilla.org/en-US/docs/W...
January 28, 2025 at 3:16 AM
There are few things as gratifying in coding as TypeScript catching an error in your editor that JavaScript completely missed.
January 27, 2025 at 2:38 AM
Reposted by Mike
Dang I'm excited about new semantic attr() capabilities in CSS!

I wrote a post about why this feature is so powerful, how it could change the way you build components, and how I would use it.

Advanced attr() is rolling out in Chrome 133 starting next week 🥰

una.im/advanced-attr/
una.im | New capabilities for attr()
Advanced attr() is landing in Chrome 133, and I'm really excited for this feature! Here's a bit about it and how you can use it.
una.im
January 22, 2025 at 5:40 PM
Wrote a piece about Docker images, Dockerfiles, and containers, and what they each do. But mostly I'm just proud of this little graphic I made
January 20, 2025 at 4:17 PM
Reposted by Mike
Programmers! If you want to hear me get way into the weeds of how ATProto works, this is the podcast for you!
Hi bluesky! If you're curious about the technical details of how this place works I think you'll enjoy my chat with @pfrazee.com!

www.softwaresessions.com/episodes/atp...
Paul Frazee on Bluesky and ATProto
Building a decentralized social network
www.softwaresessions.com
January 17, 2025 at 1:14 AM
Reposted by Mike
This is fun. a WASM based game engine

wasm4.org
WASM-4
Build retro games using WebAssembly for a fantasy console
wasm4.org
January 15, 2025 at 7:44 PM
Reposted by Mike
✨ Bluesky search tips and tricks

Add `from:me` to find your own posts

Add `to:me` to find replies/posts that mention you

Add `since:YYYY-MM-DD` and/or `until:YYYY-MM-DD` to specify a date range

Add `domain:theonion.com` to find posts linking to The Onion

See more at
bsky.social/about/blog/0...
Tips and Tricks for Bluesky Search - Bluesky
Let’s dive into all the tips and tricks for advanced Bluesky search!
bsky.social
January 14, 2025 at 9:12 PM