Kenneth Brattli (@KennethBrattli) profile picture

react native dev. built MobyLity and Auroracle 4000 monthly downloads

Oslo, Norway
Joined June 2026
Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)Photo by Kenneth Brattli (@KennethBrattli)
My tips for faster mount times: 1. Defer off-screen components 2. Use less expensive UI alternatives (e.g. RN Nano Icons) 3. Don’t block the JS thread (e.g. run heavy math and render loops on Worklet Runtimes) 4. Use RN Teleport to move mounted views instead of remounting them
4
11
1
83
8,450
Benchmarked shared element transitions - react-native-smooth-clip-view - Reanimated SET - Reanimated - react-native-screen-transitions - react-native-screen-choregraphy Main reason SmoothClip is faster is because the animation starts before the navigation and screen mounting do
5
8
107
5,908
To be fair, I stole a lot of code from Reanimated SET. Kudos to them and it's a much simpler API than mine 😅
1
324
Also keep in mind anything under 100 ms feels pretty instant anyway. And animating before the screen mounts can have its drawbacks
300
Kenneth Brattli retweeted
Inspired by the performance talk at the react foundation meetup by @tomekzaw_ + @lkosmaty I decided to audit my app for performance gains with @argent_ai_ 🧵(1/13)
1
2
9
391
Kenneth Brattli retweeted
Meet Allo! 👋 Your friendly neighborhood font, with variable weight and roundness, automatic optical sizing, true obliques, clever and stylish alternates, and loads more thoughtful features and details. Free & open source: allo.joshpuckett.me
458
716
231
9,838
667,834
A Skia Canvas can ruin your users first impression of the app When a Skia Canvas mounts the first time after install, it blocks ui thread & animations compiling the shader b4 saving it on disk It's hard to notice developing because it only happens the first time you run the app
3
4
42
4,185
Keep in mind this is for Skia v2. It has no API to compile shaders ahead of time or async like you can with WebGPU. Curious if Skia v3 changes this, @wcandillon?
2
1
349
2 workarounds I know of: - Instead of a Canvas, draw on a CPU surface (Skia.Surface.Make) on a worklet runtime and show the resulting PNG in a <Image> - Mount the Canvas off-screen earlier while nothing is animating, so the shader compiles before anyone sees it
270
Kenneth Brattli retweeted
If you have an Apple developer account or an app in the App Store, read this now and share it. Apple rejects your app. The notice is vague, so you fix what you reasonably think is wrong and resubmit. Apple approves it. Months later, with nothing in review, Apple terminates your account under 3.2(f) for “a pattern of manipulative or misleading behavior.” Every app gone. No explanation of what you did. Your crime? Trusting the approval. Apple’s own reviewer looked at your fix, with your rejection history in front of them, and said yes. Then Apple turned that yes into evidence against you. So who’s misleading whom? I ran App Review for seven years and wrote the guidelines. 3.2(f) used to mean real fraud. Now it’s being used against developers who did exactly what Apple approved. I’ve made this Substack post free for everyone. Every developer needs to see it before this happens to them. Share it before someone you know gets that email. phillipshoemaker.substack.co…
107
219
90
2,301
548,417
Created onboarding flow for my aurora tracker and would love some feedback Been using appllama from @jaimintf and it's been pretty helpful
3
5
205
Got tired of app-showcase products wanting $20/month, so I built a free one. Put your screen recording into Claude, say something like “make a showcase, iPhone 15 Pro”, and you get this: By no means perfect but hey.. it’s free github.com/kbrattli/prompt-a…
3
3
213
Kenneth Brattli retweeted
Open source Friday I’ve open-sourced a small part of Tightlog: the sync API. It handles local (expo-sqlite) <> remote SQL synchronisation, Apple attestation, media uploads, RevenueCat entitlements, rate limiting, and more. source code 👇 github.com/tightlog/sync-api
1
1
2
136
If you’re going to learn c++ you might as well do it in Italy
3
94
Thanks for shoutout :D , for anyone interested this is the library i created: github.com/kbrattli/react-na… It can resize views without any js thread, and on ios: zero ui thread with Core Animation.
Replying to @umair170
native clip is a small native view im experimenting for screen-transitions. On android it uses canvas.clipPath and iOS CAShapeLayer. The idea was to animate the clipping boundary while keeping the content's layout fixed avoiding per frame layout resizing which we currently do for zoom transitions which makes android suffer a ton. Super excited to see how this pairs with longer zoom flows github.com/eds2002/react-nat… But also creds to @KennethBrattli for bringing this up and motivating me to start working on this
1
1
430
Kenneth Brattli retweeted
family tray achieved in react native screen transitions 🤨🤨🤨🤨
8
11
3
225
50,935
Kenneth Brattli retweeted
foam-app.com has been approved and released on the App Store! 🚀 Powered and made possible by @expo , @jmeistrich 's Legend libraries, and of course @swmansion Reanimated Go check it out! apps.apple.com/gb/app/foam-s… Source code: github.com/luke-h1/foam
2
2
11
1,095
Kenneth Brattli retweeted
We showed react-native-bottom-sheet at App.js, and it's ready to use today, built with support from @gobimaps. The sheet host, gestures, snapping and scrolling all run in native code, so drags stay smooth even when the JS thread is busy. Let's do a deep dive 🧵
6
22
1
369
20,032