Sign in

Kræn Hansen 🇩🇰

@kraenhansen.dk
429 followers 273 following 598 posts

Software craftsman, interested in local-first software, databases, sync engines and (react) native. Father of three 👭🏼👶 from Denmark 🇩🇰 Building Developer Experiences @elevenlabs.io Accepts sponsorships 🐙 github.com/sponsors/kraenhansen

PostsRepliesMedia
Kræn Hansen 🇩🇰 @kraenhansen.dk · 19/09/2026
Tried agentic coding via the #claude connector in #xcode - can't say I'm impressed 🙄 Would expect editing project files as the primary use-case for choosing a built-in xcode experience over just editing source files in another editor / agent harness.
Screenshot of Xcode failing miserably at modifying project settings
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 07/09/2026
That feeling when you accept defeat and trash your starved out #sourdough. Bittersweet as it also frees up mental space and eliminates the reminder of your carelessness, every time you open the fridge to see the corpse of what you once hoped would bring your family fresh bread on a weekly basis ...
030
Kræn Hansen 🇩🇰 @kraenhansen.dk · 25/08/2026
I've been writing #TypeScript professionally for many years now ... And I Was Today Years Old When I Realised that #TypeScript private members are class and not instance scoped 🫠
050
Kræn Hansen 🇩🇰 @kraenhansen.dk · 12/08/2026
For anyone wanting to look at the solar #eclipse 🌑 without frying your retinas 🧿 Putting a magnifying glass in front of the #pinhole makes it bigger
060
Kræn Hansen 🇩🇰 @kraenhansen.dk · 03/07/2026
> do you find that your user-event handling callbacks often need to *read* new data? I mean, depends on your data modeling paradigm, but when I was working on Realm we had an object model where you could create using a sync call. Pretty useful, especially when creating circular structures.
Example of creating two objects circularly referencing each other.
110
Kræn Hansen 🇩🇰 @kraenhansen.dk · 13/03/2026
I had this neat little idea for a great open source contribution 💙
A time-bomb triggered on the 1st of April to override the forEach method on JavaScript arrays to call the callback on the next tick, instead of synchronously.
001
Kræn Hansen 🇩🇰 @kraenhansen.dk · 04/02/2026
@elevenlabs.io just announced raising $500M at an $11B valuation to transform how people interact with technology 🎉 Valuation doubling since I signed my contract ... coincidence? I think not 🤔 This place has so much talent and so much potential and I'm really happy to be a part of the journey!
Captive thumbnail signaling the $11.000.000.000 valuation.
100
Kræn Hansen 🇩🇰 @kraenhansen.dk · 04/02/2026
Learning a new language 😊
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 04/02/2026
First to like @reactnative.dev on @npmx.dev 💙
180
Kræn Hansen 🇩🇰 @kraenhansen.dk · 15/01/2026
Very relatable! The maintainer of the #Hermes engine is looking forward to Node-API support landing: A major milestone on the journey of adding Node-API to #ReactNative 💙 Lots of kudos and energy goes out to the team at @microsoft.com and Vladimir Morozov in particular! github.com/facebook/her...
020
Kræn Hansen 🇩🇰 @kraenhansen.dk · 05/01/2026
Here's a picture of my new office 💙
A picture of my new office with the ElevenLabs logo on top.
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 02/01/2026
It's official ⏼ #lifeatmongodb
Screenshot from the GitHub notification email making it official that I am being removed from the Realm organisation, as part of my off-boarding from MongoDB.
030
Kræn Hansen 🇩🇰 @kraenhansen.dk · 08/12/2025
I already did mine - took literally 7 minutes. Best time ever spent, providing strong signals for the maintainers of frameworks and libraries in this awesome community of ours!
Screenshot from my completion of the State of React Native survey
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 30/10/2025
Please don't get me wrong here 🙏 Let's just say I find it curious when four female devs (three of which have AI altered pics) and none have their workplace listed, starts following me the same day 😬
100
Kræn Hansen 🇩🇰 @kraenhansen.dk · 26/10/2025
PSA: If you've cloned a repo like @expo.dev's mono-repo, remember to disable @github.com Actions. Thankfully all was discounted (presumably usage is within the free tier? 🤷)
A graph showing spending of GitHub Actions form a fork of the Expo mono-repository totaling ~ $130 in the current month.Screenshot of the settings screen to disable actions.
120
Kræn Hansen 🇩🇰 @kraenhansen.dk · 28/09/2025
👌
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 24/08/2025
Working on my @reactuniverseconf.com presentation I need inspiration for a stupid "native API" to implement a Node.js native addon for: "best" candidate is `ejectCupHolder` with me narrating "like this example of ejecting a compact disk drive". Afraid people will be too young to get the "joke" 😬🤦
271
Kræn Hansen 🇩🇰 @kraenhansen.dk · 02/08/2025
This config of the rule did the trick for me. Had to use "suite" and "test" here even though I'm importing `describe` and `it` 🫤
010
Kræn Hansen 🇩🇰 @kraenhansen.dk · 02/08/2025
Okay 🥵 I'm not saying that this is my most beautiful creation this summer. I'm also not not saying that this took the most sweat and tears 😑 Thanks #feddelegrand for being the soundtrack of my suffering!
Our car with the bikes loaded on the back
010
Kræn Hansen 🇩🇰 @kraenhansen.dk · 26/07/2025
I'll be speaking at @reactuniverseconf.com September 2-4, 2025 in Wrocław, Poland 🥳 My talk will be centered around the #Node-API support for #ReactNative that I've recently helped build. Grab your ticket before the "late birds" and use this link ti.to/RUC/react-un... if you want to save a bit too.
041
Kræn Hansen 🇩🇰 @kraenhansen.dk · 17/07/2025
Today we're making cardboard smartphones and paper apps ✍️🤗
130
Kræn Hansen 🇩🇰 @kraenhansen.dk · 10/07/2025
That's great to hear! I'm really excited that this is public now and we'll be able to collaborate more with the wider community. I like your art BTW. I wonder if the Node-API for React Native logo spark any ideas from you: github.com/callstackinc...
120
Kræn Hansen 🇩🇰 @kraenhansen.dk · 12/06/2025
It's been a surreal experience walking from my hotel to the @jsnation.gitnation.org venue this morning. This neighborhood is nuts 🤯 I'm genuinely wondering if this is part of the curated experience.
120
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/06/2025
I suspect the main attraction is the food cooked on the fire.. #pågen #gifflar and tortillas with cheese and sausages 🙂⛺🔥
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/06/2025
Biked to the local shelter this morning 😊
210
Kræn Hansen 🇩🇰 @kraenhansen.dk · 25/05/2025
How awesome is this?! 😎💤 Super comfy and I already made three new friends 🤗
010
Kræn Hansen 🇩🇰 @kraenhansen.dk · 25/05/2025
Starting my journey towards #Berlin 🇩🇪 for @localfirstconf.com! I can't wait to meet all the friends I didn't know I had 🤗 #localfirst
Walking by foot to the bus, taking me to the train, taking me to the train, taking me to Berlin 😊
290
Kræn Hansen 🇩🇰 @kraenhansen.dk · 11/05/2025
Somethings cooking 🧑‍🍳 What do you think of when you see this logo? (Hint: It might be a project combining two existing technologies)
220
Kræn Hansen 🇩🇰 @kraenhansen.dk · 11/04/2025
Favourite gym routine: Split screening in a @callstack.com stream with the "Strong" app. This enterprise framework gets me fired up 🔥💙 also @grabbou.com dropping Node-API mentions gives me that extra 💯🦾😆
000
Kræn Hansen 🇩🇰 @kraenhansen.dk · 27/03/2025
020
Kræn Hansen 🇩🇰 @kraenhansen.dk · 14/03/2025
I've since transitioned to something even more energetic 😊 This one for example - I imagine myself frantically running from the AI overlords, chasing me with machine guns strapped to a pack of Boston Dynamics spot robots 🏃‍♂️🤖🤖🤖
120
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/03/2025
#contextmatters by the way 🙃
Me taking cleaning rust off my grill with an angle grinder.
020
Kræn Hansen 🇩🇰 @kraenhansen.dk · 25/02/2025
What's up with the usage of JavaScriptCore? Why is it not declining in usage, but instead increasing from 28% → 42% (+14pp)? Compared to Hermes increasing from 57% → 64% (+7pp).
JavaScriptCore runtime usage in the 2024 "State of React Native Survey"Hermes runtime usage in the 2024 "State of React Native Survey"
010
Kræn Hansen 🇩🇰 @kraenhansen.dk · 08/02/2025
I've added displaying what each resolution resolved "to". Using 🔴 to show an unresolved module. (In hindsight ... somewhat obvious 🙈)
010
Kræn Hansen 🇩🇰 @kraenhansen.dk · 07/02/2025
I've often dreaded debugging how / why #TypeScript was including a particular file into my project. But no more, because I built myself a neat little CLI today: npx resolution-explorer
3235
Kræn Hansen 🇩🇰 @kraenhansen.dk · 16/01/2025
I don't know how abstract this is 🤔 But here I'm drawing a smoking log from yesterday's firepit. It filled up the entire livingroom and it's constantly reminding me about the freezing dinner we had while exchanging the air inside 🙄
A smoking log from yesterday's fire pit
130
Kræn Hansen 🇩🇰 @kraenhansen.dk · 15/01/2025
Also, this is all I see while listening to the groovy beat when downloading the native app for Android 🤔 Either something is broken or it has a very long loading scene 😂
110
Kræn Hansen 🇩🇰 @kraenhansen.dk · 13/01/2025
Pen jammed 10 minutes in 😂
120
Kræn Hansen 🇩🇰 @kraenhansen.dk · 11/01/2025
BTW, is this a Danish thing or international? I tried asking ChatGPT, but that escalated quickly, assuming my girls are involved in organized crime 😂 (to swear" and "a gang" is spelled the same, but pronounced differently in Danish)
ChatGPT explaining the word "bandekasse".
110
Kræn Hansen 🇩🇰 @kraenhansen.dk · 11/01/2025
My two 6yo girls made this "bandekasse" (🇩🇰 for "swear box") where you have to drop in coins everytime you say a swear word. Now they're conspiring to find ways of tricking their grandparents into swearing to hustle them for money. I've got to acknowledge their ingenuity 😂
250
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/01/2025
I know I'm not the average #typescript user, however I've wanted to import DOM types without polluting the global namespace many times now. I finally took the time to put together this PR: github.com/microsoft/Ty... 🤞
151
Kræn Hansen 🇩🇰 @kraenhansen.dk · 05/01/2025
Making great progress on my intent to make Node C++ Addons available for React Native. The screenshots show the RNTesterUnitTests app calling into a "HelloAddon", first via the node-addon-api (C++ wrappers of the lower level C-API) and then via JSI.
1191
Kræn Hansen 🇩🇰 @kraenhansen.dk · 17/12/2024
This is cool an' all - but ... I'd rather spend the extra 5 minutes writing out a user defined assertion function for this 😎 const message = parseIncomingMessage('{"type":"crud.create"}'); console.log(message.type); www.typescriptlang.org/play/?ssl=33...
020
Kræn Hansen 🇩🇰 @kraenhansen.dk · 16/12/2024
A new strong contestant for the "smallest PR to React Native" (this time I contributed 4 bytes) but hopefully impactful none the less 🙏 Bundling on iOS was broken for devs with whitespace in their `node` binary paths: github.com/facebook/rea...
370
Kræn Hansen 🇩🇰 @kraenhansen.dk · 10/12/2024
Here are some of my thoughts, based on the experience.
100
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/12/2024
100
Kræn Hansen 🇩🇰 @kraenhansen.dk · 09/12/2024
First (and likely last) #gym picture: I've noticed how a treadmill run makes me prepare a mental list of tasks for the day 🏃‍♂️📒 I suspect it keeps my mind focussed on anything other than my physical body and its surroundings 😅 (i promise I won't turn into a full-on #gymbro from now on)
Black/white picture of my treadmill this morning
020
Kræn Hansen 🇩🇰 @kraenhansen.dk · 06/12/2024
This is my smallest contribution to #reactnative to date! 😅
React Native bot commenting on a GitHub pull request that it was merged.
100
Kræn Hansen 🇩🇰 @kraenhansen.dk · 28/11/2024
110
Kræn Hansen 🇩🇰 @kraenhansen.dk · 28/11/2024
I'm building a CLI wrapping other commands, using #react and the www.npmjs.com/package/ink package 🖋️ Ended up building this library in the process www.npmjs.com/package/ink-... (code for the video in 🧵)
110