Pinned Tweet
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
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
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
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)
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
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
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
My entry for @expo app awards:
Auroracle
apps.apple.com/no/app/aurora…
play.google.com/store/apps/d…
10
751
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…
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
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
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
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 🧵







