Gunnar Torfi (@gunnarthedev) header
Gunnar Torfi (@gunnarthedev) profile picture

Husband, father of two, and a software developer building universal React Native with Expo. Frontend Tech Lead & Co-Founder @ Noona

Iceland
Joined May 2020
Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)Photo by Gunnar Torfi (@gunnarthedev)
Gunnar Torfi retweeted
You can try this now! Preview  Apple Simulators in your favorite agent tool or browser: ~ / npx serve-sim Excited to see what you build!
Building an iPhone app directly in Codex desktop with iOS simulator
44
53
19
1,054
118,069
0.25.0 is out with stacking support, disabled by default. This is a big release, including a complete rewrite of the state management. github.com/gunnartorfis/sonn…
Sonner Native is soon getting a major upgrade — stacking toasts. Multiple toasts will stack with depth, scale down to show layers behind, and expand on tap. All powered by React Native's New Architecture: synchronous getBoundingClientRect() in useLayoutEffect.
1
1
9
1,231
Sonner Native is soon getting a major upgrade — stacking toasts. Multiple toasts will stack with depth, scale down to show layers behind, and expand on tap. All powered by React Native's New Architecture: synchronous getBoundingClientRect() in useLayoutEffect.
6
14
1
244
12,209
Love to see it!
sonner-native in action 💅
1
176
Gunnar Torfi retweeted
Introducing Expo Agent Build truly native iOS and Android apps from a prompt. Anything from React to SwiftUI to Jetpack Compose. Compile and deploy for Apple, Android, and the web right from the browser!
102
125
51
1,280
219,136
Banger feature request for @warpdotdev Tab groups and smart tab titles. In the agentic world I tend to have 3+ tabs open per project and they sometimes get hard to navigate. Multiple windows ain't the solution imo.
1
139
Demo Friday at Noona Labs today: 1. Group bookings and events with payments and QR ticket support (finally) 2. e2e demo of an in-house autonomous coding agent solving a bug: from Linear to a reviewed PR ready to deploy (@gunnarthedev) 3. @einartryggvi CTO vibe-coded a custom AI-powered @lokalise replacement in @Replit that looks much more powerful for our use multi-market, multi-repo use cases. 4. ... and a fully-autonomous agent squad working independently 24/7 in the cloud on goals and tasks on behalf of Noona Labs I guess this is what it looks like to be surfing on the wave of singularity 🌊
1
2
1
14
1,837
Wrote up how we moved our brownfield React Native + Next.js setup over to Expo. Was a bigger mindset shift than I expected, but I’m really happy with where we ended up. Thanks for the opportunity and kind words @expo
🤔 If you're on a small team (or any team for that matter) why build everything twice? That was the original motivation for @gunnarthedev when he migrated his brownfield React Native + Nextjs app stack to Expo. Gunnar is an elite developer who always has excellent feedback for us. In the blog post below he shares rock solid best practices for migrating a brownfield app to Expo ↓
2
180
Gunnar Torfi retweeted
Replying to @thekitze
sonner-native is the best one also if you wanna put stuff over iOS modals use FullWindowOverlay from react-native-screens
2
1
33
1,300
Replying to @sub_popular
I'm excited about durable execution stuff, no doubt. And yes, the syntax for existing tools can feel heavy handed at times, but it's also naive to think that something like a directive could offer anything near what a function with proper options/api design could. There's going to be options. There's going to be edge cases. When those eventually (or already) start cropping up, directives immediately become useless. I'm 100% in favor of compilers and doing cool compiler stuff (we do that with TanStack Start), but this: `use workflow` Unnecessarily restricts you into a single boolean. Is it there, or is not. This: workflow(opts?, fn) Leaves room for growth, customization, bespoke requirements, etc. It's also 100% just as easy to manipulate from an AST as a directive is. The *only* thing that functions require that directives don't is a source. If you want total control, make users import it. You could even make it framework/env agnostic! import { workflow } from '@workflows/workflow' At least then you get type-safety and can control the "standard" you have just created. Don't want imports forced on your users? Set up a global variable. You can inject it (only once per env too instead of watching/manipulating every single file!) and even still provide type-safety through a global type in tsconfig. Funny enough, this is how JSX works today, which I think is a shining example of how to go about extending language syntax responsibly.
16
15
5
368
81,360
Off to React Conf in Vegas✈️ Shoot me a message if you want to meet up
3
284
Super proud of a consistent 4.8+ rating for the past 6 years 🤩 React Native from the get go and now we’re seeing 1.0 soon!
2
220
Legend List 2.0 is now in beta! ✨ Improved performance ✨ Perfectly accurate scrollToIndex ✨ Mount time on new arch goes from pretty fast to ZERO ✨ Sticky headers ✨ estimatedItemSize is now optional ✨ Fixes many bugs
30
36
5
458
37,285
Gunnar Torfi retweeted
My story: Learned to code at 17 when creating my first startup alongside my two friends @Jon_Hilmar_K and @ViktorThulin Tried a lot, failed a lot, but one side-project always stuck with me That side project turned into noona.app, a business platform and marketplace with thousands of B2B customers all over the world Raised €3m in two seed rounds and acquired another software biz, leading to a 8-figure licensing deal with Iceland's largest Telco In that deal, we sold off a big chunk of our revenue base, so we're back at ~€100k MRR but I've never been more excited and optimistic: the world is our playground and the AI-revolution has unlocked a galaxy of opportunities for Noona and beyond This year I'll turn 30 – and after reflecting on my twenties, I'm motivated to make some big changes. Most importantly, I'm opening myself up I spent my twenties being an introverted builder and systems-designer, focused on learning and too often insecure about my thoughts and ideas. I thought way too much about what other people think of me, as is sadly often the Icelandic way. Those days are over. Now I want to connect, engage, share and learn by doing, building and failing in the open. I want to get to know people all over the world and help shape the trajectory of our collective consciousness at this critical moment in history we find ourselves living through. I loved my twenties and I'm super grateful for my status quo, but I can't wait to see the surprises and collisions that a decade spent in the open will bring! Feel free to join the journey by hitting that follow button - I'm here to stay and looking to connect and engage deeply 🚀
3
2
1
12
866
Testing out Astro for the first time
1
144
Kent with yet another banger. I can’t believe I haven’t seen this one before!
Do you know why this won't focus the input and how to fix it? Learn about that with more practical examples in my latest article on Epic React: epicreact.dev/mastering-focu…
1
277
Hey @OpenAIDevs Who is AlexandrDobrovolskiy? Bit skeptical authing my org to Codex after seeing this
137
Is there a RN library that matches shadcn's API? It doesn't have to be fully compatible. reusables is out there but the API is different from shadcn's To build universal components I'd ideally want to export * from './shadcn-web-folder' and export * from './shacn-native-folder'
1
151
Gunnar Torfi retweeted
🥓Expo Router v5 is here and it's packed with powerful new features to help you build beautiful full-stack native apps. There is a hearty blog post from @Baconbrix below with all the details. Here are a couple of the highlights: ◆ Improved Errors and Logging ◆ API Routes in Production ◆ React Server Functions (Beta) Tons more to learn about in the blog. Check it out ↓
10
48
10
554
80,951