Jonathan Haines
banner
jonno.dev
Jonathan Haines
@jonno.dev
🤔 🤔 🤔 🤔 Not a real penguin. 🤔 🤔 🤔 Writes a lot of JavaScript. 🤔 🤔 🧐🤔 🤔 I think too 🤔 🤔 🤔

@BarryThePenguin@mastodon.social

https://twitter.com/BarryThePenguin
I'm also looking for new job opportunities. I have a lot of experience with TypeScript and frontend system design. Recently, I've been using Hono and Cloudflare to make super-fast websites. If you're interested in working with me or know someone who is hiring, please reach out at hello@jonno.dev 👋🏻
November 3, 2025 at 10:14 PM
Unsure if it's related.. the npm registry rotated some signing keys a while back. This resulted in corepack failing to install package managers, due to a bug in corepack. We had to update a bunch of projects as a result

github.com/nodejs/corep...
Newly published versions of package managers distributed from npm cannot be installed due to key id mismatch · Issue #612 · nodejs/corepack
This is probably related to #611. When I try to install pnpm 10.1.0, I get the following error: C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:21535 if (key == null || signatur...
github.com
August 13, 2025 at 9:28 AM
Ah.. Effect Events might be worth a read react.dev/learn/separa...

🚧 Under Construction 🚧 🙈
Separating Events from Effects – React
The library for web and native user interfaces
react.dev
August 8, 2025 at 10:19 PM
There is also Dan's article on useEffect, but it's from 2019, so it's probably a bit dated now overreacted.io/a-complete-g...
A Complete Guide to useEffect — overreacted
Effects are a part of your data flow.
overreacted.io
August 8, 2025 at 11:42 AM
Checkout "How to handle the Effect firing twice in development?" react.dev/learn/synchr...

It's called out a few times in the docs, but only ever in relation to another topic. See also "Fixing bugs found by double rendering in development"
react.dev/reference/re...
Synchronizing with Effects – React
The library for web and native user interfaces
react.dev
August 8, 2025 at 11:42 AM
You probably want to use `act()` when rendering in tests. Note that you'll also need to define `IS_REACT_ACT_ENVIRONMENT`

react.dev/reference/re...
act – React
The library for web and native user interfaces
react.dev
August 8, 2025 at 11:31 AM
It's difficult asking clarifying questions without coming across as a jerk 😅 I don't know a lot of Rust, so I was unsure if there was something I had missed
March 1, 2025 at 4:11 AM
I'm loving Iterators and all the iterator methods available now. If I see Array used somewhere, I'll try replacing it with Iterable to see what breaks

developer.mozilla.org/en-US/docs/W...
Iterator - JavaScript | MDN
An Iterator object is an object that conforms to the iterator protocol by providing a next() method that returns an iterator result object. All built-in iterators inherit from the Iterator class. The ...
developer.mozilla.org
March 1, 2025 at 3:50 AM
Have you been to New Sydney recently?

www.instagram.com/reel/DB0IgDB...
Login • Instagram
Welcome back to Instagram. Sign in to check out what your friends, family & interests have been capturing & sharing around the world.
www.instagram.com
January 18, 2025 at 7:08 AM
Ah, I just saw the section about Valibot Transforms, sounds great! I've seen teams have success with ember-data-factory-guy. Having typed schemas for input/output validation will be massive for DX 👍🏻
December 8, 2024 at 10:29 PM
Looking at Safety Protocols, github.com/standard-sch... might be useful 👀
GitHub - standard-schema/standard-schema: A standard interface for TypeScript schema validation libraries
A standard interface for TypeScript schema validation libraries - standard-schema/standard-schema
github.com
December 8, 2024 at 3:34 AM
Waiting for invitations so Gill can join too⏳
September 13, 2023 at 3:35 AM