Kevin Crawford's Avatar

Kevin Crawford

@kcrwfrd

Frontend software engineer Los Angeles

75
Followers
177
Following
103
Posts
11.11.2023
Joined
Posts Following

Latest posts by Kevin Crawford @kcrwfrd

@zed.dev is it possible to use Amazon bedrock for running the models?

06.03.2026 06:58 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

After all, why not?

04.03.2026 04:15 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Donโ€™t tease me like that :<

26.02.2026 18:28 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Haha Iโ€™m old enough to remember that sprites were a cornerstone CSS technique used all the time. I used to have sprite sheets for every project.

Combining with key frames like this is new, though. Cool tutorial!

23.02.2026 17:15 ๐Ÿ‘ 7 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Was talking about this with a coworker. They said they like to add a directory to clone the repos of dependencies so an agent can refer directly to the source code.

It would be sweet to have it integrate with package.json so that it checks out the correct version of the dependency.

15.02.2026 07:30 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image
14.02.2026 08:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

So the browser spinner is shown while interception handler resolves? Thatโ€™s pretty neat, thankfully I think its omission is some acceptable graceful degradation.

What Iโ€™m wondering is can we polyfill sufficiently enough that a navigation-powered router for a SPA can be implemented.

09.02.2026 16:21 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I believe sameDocument is indeed impossible. As well as navigationType: โ€˜reloadโ€™ on entry change event.

The polyfill also introduces some restrictions on history API calls since we have to augment the state object with our entry key and ID.

09.02.2026 16:21 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Yeah, hash changes were tricky to handle, but I think I got it down. I was surprised to learn they fire a popstate event!

All of my e2e tests around history entries work with both native Navigation or the polyfill so far.

09.02.2026 16:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
GitHub - kcrwfrd/navigation-ponyfill: A ponyfill (polyfill) for the browser Navigation API A ponyfill (polyfill) for the browser Navigation API - kcrwfrd/navigation-ponyfill

Polyfill in question: github.com/kcrwfrd/navi...

08.02.2026 23:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I released a polyfill with pretty good good support for navigation history entries.

As I start to think about how to tackle navigation transition lifecycle (Navigate event, cancellation, interceptors, etc.) I was wondering if you have any wisdom to share in the parts you think are impossible? ๐Ÿ™๐Ÿผ

08.02.2026 23:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Preview
Navigation API - Web APIs | MDN The Navigation API provides the ability to initiate, intercept, and manage browser navigation actions. It can also examine an application's history entries. This is a successor to previous web platfor...

The Navigation API is an exciting new browser API that is the successor to the History API.

It is now broadly supported across the most recent versions of the main browsers, and I'm eager to begin using it in production apps!

The docs, for reference: developer.mozilla.org/en-US/docs/W...

08.02.2026 23:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - kcrwfrd/navigation-ponyfill: A ponyfill (polyfill) for the browser Navigation API A ponyfill (polyfill) for the browser Navigation API - kcrwfrd/navigation-ponyfill

I'm excited to have released navigation-ponyfill, a polyfill for the new browser Navigation API!

Check it out: github.com/kcrwfrd/navi...

And the Next.js docs/example: github.com/kcrwfrd/navi...

#webdev #browser #html #javascript #react #nextjs #opensource

08.02.2026 23:29 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

What happens if itโ€™s a cache miss? Does it block at request time?

04.02.2026 23:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Movie hacker scene, but the protagonist is trying to figure out how to publish a package to NPM when it prompts for a OTP but the new security keys that NPM requires don't have OTPs

#npm #javascript

01.02.2026 06:51 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

I wonder if thereโ€™s a skill for that ๐Ÿค”

Itโ€™s also funny when it decides to add โ€œskipโ€ to a failing test ๐Ÿ˜‚

24.01.2026 00:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Unfortunately only works for spaces on the same monitor.

16.01.2026 21:40 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

๐Ÿ‘€ well thatโ€™s exciting that you have an idea.

I have something hacked together in hammerspoon but it doesnโ€™t work great.

Another approach Iโ€™m curious about: if you click the title bar on an app and then use keyboard shortcut to change space, it moves the window quite elegantly.

16.01.2026 21:39 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

The Navigation API is newly baseline! The web now has sensible, low-level routing for navigations.

15.01.2026 15:25 ๐Ÿ‘ 164 ๐Ÿ” 29 ๐Ÿ’ฌ 9 ๐Ÿ“Œ 5
Preview
feat: add support for `entries()` and `currentEntry` by kcrwfrd ยท Pull Request #33 ยท kcrwfrd/navigation-ponyfill Summary This PR implements the entries() method and currentEntry property from the Navigation API. Key Changes Enhanced and refactored Navigation Added currentEntry getter and entries() method nav...

I have PR open for entries() and currentEntry, I would love any feedback on it โค๏ธ

github.com/kcrwfrd/navi...

I need to sort out bundling as well. For now I started out without any bundling just so I can experiment and develop.

16.01.2026 02:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I wouldnโ€™t call it stable yet. It works by patching the history API so that you can use navigation api features in history-based framework routers.

I want to make that patching explicitly opt-in so that you could avoid patching altogether and eschew history altogether for a purely navigation router

16.01.2026 02:12 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
GitHub - kcrwfrd/navigation-ponyfill: A ponyfill (polyfill) for the browser Navigation API A ponyfill (polyfill) for the browser Navigation API - kcrwfrd/navigation-ponyfill

I actually have one that Iโ€™ve been working on for the past few weeks, and I would love any feedback on it: github.com/kcrwfrd/navi...

I feel quite good about supporting entries(), currentEntry, and canGoBack. I will have to start digging into navigate()

@webdevs.firefox.com

16.01.2026 02:07 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

ooo 3 column layout is nice!

Honestly the most important feature to me is a keyboard shortcut to send a window to space by number.

Yabaiโ€™s implementation works perfect BUT it requires disabling SIP so itโ€™s a non-starter on my work laptop :(

Frustrating that Apple doesnโ€™t make the apis public

15.01.2026 04:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Always love to see new window managers on macOS.

How does it differ from yabai?

15.01.2026 02:34 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Node.js โ€” Tuesday, January 13, 2026 Security Releases Node.jsยฎ is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

We appreciate your patience and understanding as we work to deliver a secure and reliable release.

Updates are now available for the 25.x, 24.x, 22.x, 20.x Node.js release lines to address:

- 3 high severity issues
- 4 medium severity issues
- 1 low severity issue

nodejs.org/en/blog/vuln...

13.01.2026 14:42 ๐Ÿ‘ 65 ๐Ÿ” 26 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 2
Preview
GitHub - kcrwfrd/navigation-ponyfill: A ponyfill (polyfill) for the browser Navigation API A ponyfill (polyfill) for the browser Navigation API - kcrwfrd/navigation-ponyfill

I spent the past two weeks grinding hard on publishing my first NPM package, navigation-ponyfill: github.com/kcrwfrd/navi...

Itโ€™s been a lot of fun. I hope to keep giving it love, and that others may find it useful.

Maybe Iโ€™ll contribute to some other open source projects as well!

03.01.2026 07:49 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Vibes are good

26.12.2025 20:06 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Need this in Animorphs cover format

21.12.2025 05:17 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Ask the AI to write the code, and then just ask the AI to read and summarize what it wroteโ€ฆ brilliant! ๐Ÿคฃ๐Ÿคฃ

Not even being sarcastic, itโ€™s a great suggestion. I was super impressed new features for reading PRs on GitHub recently.

16.12.2025 14:55 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - cowboy/dotfiles: My Ubuntu / OS X dotfiles. My Ubuntu / OS X dotfiles. Contribute to cowboy/dotfiles development by creating an account on GitHub.

Idk how relevant these examples are nowadays but I was stoked to find them back in the day

- github.com/cowboy/dotfi...
- github.com/mathiasbynen...

16.12.2025 05:02 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0