Re:React Won by Default – and It's Killing Front End Innovation
by nosefurhairdo on Tuesday September 16, 2025 @03:12PM
(#45266573)
You can't use their js sdk? https://github.com/livekit/client-sdk-js
Re:React Won by Default – and It's Killing Front End Innovation
by AlexErrant on Tuesday September 16, 2025 @06:02PM
(#45268767)
No, sadly. I use some features that require the usage of native code, e.g. native echo cancellation, foreground service to keep the audio running when the screen is off, etc. The sdk-js is meant for browsers.
Re:React Won by Default – and It's Killing Front End Innovation
by nosefurhairdo on Tuesday September 16, 2025 @07:55PM
(#45269868)
Gotcha. I'm unfamiliar with LiveKit and React native so appreciate your clarifications. You've convinced me that your grievances are legit haha.
Some libs do not expose "vanilla" js/ts functions that I can call - e.g. `LiveKitRoom` https://github.com/livekit/client-sdk-react-native
It only takes 1 hook to pollute your entire factory pattern; the comparison to colored async functions wasn't spurious. Hook-only options seem especially prevalent in the React Native ecosystem (ironically, given the memory constraints of phones).
Of course, I could fork/go down to the native layer, but this just proves my point that React DX is hot garbage.