Christian Falch
banner
chrfalch.bsky.social
Christian Falch
@chrfalch.bsky.social
Did @shopify/react-native-skia and now I’m working on expo.
Amazing and inspiring
December 12, 2024 at 2:38 PM
No problem at all :)
December 11, 2024 at 6:31 AM
Makes sense - and looks fun!
November 27, 2024 at 4:32 PM
Nice! Did you go for Readium, or did you roll your own using webview?
November 27, 2024 at 3:14 PM
Doing tooling should be fully supported in Readium. Just ping me if you have questions.
November 17, 2024 at 9:04 AM
I’ve made two RN epub apps using the Readium toolkit (swift/kotlin) - writing a few custom views that takes advantage of this rather mature library has worked out really well.
November 16, 2024 at 4:53 PM
Love it :)
November 15, 2024 at 6:06 AM
Appreciate it! <3
November 14, 2024 at 9:25 PM
Wow… wizard!
November 14, 2024 at 3:23 PM
Could you use `React.FC<Props>` to define the return type? It should be safe and sound now, shouldn't it?
November 11, 2024 at 3:32 PM
Same! This is a good place to be!
November 11, 2024 at 3:01 PM
It is not trivial - but to get an idea of what REA copies you can add logging to the `ShareableObject::toJSValue` method in the native code (Shareables.cpp#233) - just `cout` out the names of the properties it traverses - look for candidates for simplification if this makes sense for you.
November 11, 2024 at 9:05 AM
I once had a worklet where I was using the React Native `Platform` object to check the OS version - changing this to passing the OS as a stand-alone string made the app so much more snappy since REA was copying the Platform object fully each time the function was called...
November 11, 2024 at 8:54 AM
Optimizing worklets are often about the cost of copying the captured context of the function - REA automatically detects what you're using inside the worklet function and copies it into the worklet runtime when you call the worklet. Deep objects can add a big performance hit if passed in the ctx.
November 11, 2024 at 8:52 AM