Daniel Merrill

Results 81 comments of Daniel Merrill

Update — I addd some listeners here: https://github.com/k-yle/rtsp-relay/blob/master/index.js#L34 ```js this.stream.stderr.on('data', () => console.log('err data')) this.stream.stderr.on('error', (e) => console.log('err err', e)) ``` It's been running fine for several minutes now 🤞...

I have this same issue. Here's my use case: I'm on React Native and am wrapping `useSwr` in a custom hook, let's call it `useSomeData({ paused: boolean })`. I want...

Thanks @promer94 and @shuding ! So, here's a more complete example of my use case: https://stackblitz.com/edit/nextjs-4xtgyg?file=pages%2Findex.js Notice that if the fetch starts as `paused: true`, and then toggles to `paused:...

A few clues (and maybe the reason why console.log fixes it): setting `optimalization = 0` here also seems to fix it: https://github.com/software-mansion/react-native-reanimated/blob/main/src/reanimated2/hook/useAnimatedStyle.ts#L481 (or returning `false` here: https://github.com/software-mansion/react-native-reanimated/blob/main/src/reanimated2/hook/utils.ts#L167-L175) I believe this...

Since setting `optimalization = 0` seems to fix it, my gut says that the issues lies somewhere around here: https://github.com/software-mansion/react-native-reanimated/blob/150e787d1101249122871128be5805c4fe288286/Common/cpp/Tools/Mapper.cpp#L25-L50 maybe some kind of race condition with `jsViewDescriptors` being initialized...

@piaskowyk I think the issue has something to do with the performance optimazations or shared styles here: https://github.com/software-mansion/react-native-reanimated/pull/1470 https://github.com/software-mansion/react-native-reanimated/pull/1879

I just did some experimentation and did end up getting Android to display correctly but had to implement some Android-specific workarounds: - iOS doesn't seem to need all the viewRef...

hm yeah this is a tricky one. So, the item that you're dragging gets removed when its original location in the list moves out of the render window. In previous...

See `activationDistance` prop https://github.com/computerjazz/react-native-draggable-flatlist/blob/master/README.md#props

the list needs to know about any layout changes that occur as a result of the new positions, so we can't begin dragging while another animation is still running. You...