3 ms·
I appreciate your example. Some libs do not expose "vanilla" js/ts functions that I can call - e.g. `LiveKitRoom` https://github.com/livekit/client-sdk-react-n
by AlexErrant 1y ago
I appreciate your example.
Some libs do not expose "vanilla" js/ts functions that I can call - e.g. `LiveKitRoom` https://github.com/livekit/client-sdk-react-native 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 (ironic, 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.
- nosefurhairdo 1y agoYou can't use their js sdk? https://github.com/livekit/client-sdk-js https://github.com/livekit/client-sdk-js
- AlexErrant 1y agoNo, 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.
- nosefurhairdo 1y agoGotcha. I'm unfamiliar with LiveKit and React native so appreciate your clarifications. You've convinced me that your grievances are legit haha.