One of the most annoying things in devtools is figuring out which async action triggered a re-render.
react-native-release-profiler 2.0 patches useState to capture full stack traces for every update and syncs them with render reports + Hermes profiler.
Ofc in a release builds.
Really excited about this one. New Kotlin compiler plugin in Expo SDK 56 replaces reflection with build-time code gen for Expo Modules on Android. ~40% faster cold starts, ~33% faster first render in our benchmarks. No changes needed in your app!
@Turbo_Szymon Interesting, I'm pretty sure I've made a PR a while ago fixing this. (by using java reflection, which was much better)
https://t.co/c5PeBihjn7
It has been merged but the code isn't on main branch and git blame tells me it basically never existed wtf
I finally published 1.21.0 version of react-native-keyboard-controller! This release packed with many new features!
First of all it adds KeyboardChatScrollView - a component that can be used for building chat interfaces with few lines of code🤯
More features in thread 👇 1/5
@ipla03 I like the fact you can move the style away from the component tree. I always felt that flutter and Compose were hard to read / scan because of the inline styling.
By popular request, Legend List 3.0.0-beta.36 has some fun new features. And it’s faster too!
- web: useWindowScroll to virtualize the window
- mobile: itemLayoutAnimation to animate item transitions
- many fixes and optimizations 🔥
Getting closer to a stable release...
And a quick update on this: I merged PR and published 1.21.0-beta.3 version to npm that has this component😎
Documentation for new component can be found here:
- https://t.co/XdJnMi2kJd
- https://t.co/sm5qrswrTf
Need to fix some other bugs and I will publish stable 1.21.0 soon!
Announcing Hermes-node
Hermes can now run as a standalone CLI with Node.js-compatible APIs - no C++ embedding required.
Technically, hermes-node is a Node.js API compatibility layer for Hermes. It ports Node's native bindings (fs, net, http, child_process, etc.) to Node-API and reuses Node's original lib/*.js files, allowing standard Node.js programs to run on Hermes instead of V8. It vendors libuv, c-ares, llhttp, Ada, simdutf, etc to provide the same networking and I/O stack as Node, and runs as a standalone CLI binary.
In this demo:
- REPL with tab completion
- TypeScript HTTP server using http, fs, and path
- Type annotations stripped natively by the parser — no transpiler, not even a built-in one.
This is still a work in progress, though surprisingly functional. More Node modules coming, source will be published soon.
@Foulques44 Je ne sais pas si l’inauguration de ce pont était censée servir l’agenda politique de la mairie actuelle. Une chose est sûre, vous utilisez un aléa de chantier pour servir le vôtre.
Random #reactnative performance discovery of the day.
Array destructuring can hurt really really bad (because of babel transform).
From 470ms, down to 180ms by just replacing `const [a, b] = c` by `const a = c[0]; const b = c[1]` in 2 functions of rn firestore. just insane.