Mike
banner
mostlyfocused.com
Mike
@mostlyfocused.com
I'm a full stack web dev who likes to write technical articles. https://mostlyfocused.com
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
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
January 18, 2025 at 12:54 AM
On the little waterfall, it shows each render and says that the parent re-rendered. But the parent did not re render. So the logs say one thing and the profiler another. Also that little "highlight on update" just says EVERYTHING re renders, which is refuted by the logs and the profiler
November 26, 2024 at 5:22 PM
"I thought I had a problem, but turns out I'm just bad at code"
November 25, 2024 at 5:03 PM
November 22, 2024 at 6:06 PM
November 20, 2024 at 8:09 PM