Radek Pietruszewski
Radek Pietruszewski
@gliesche For context: what problems are you looking to solve with a hook-based WatermelonDB observation? Do you just care about nice, consistent API? Or are there composition/performance/other problems you're running...
(@crimx FWIW we're moving away from RxJS internally for performance reasons, but yes, the outside API is RxJS-compatible)
> @radex is the observable from watermelon hot and with inital value? I am trying to implement a hook that subscribe synchronously. In concurrent mode it is only safe if...
@Assisneto Sure thing! PRs are very welcome!
Relevant: https://github.com/facebook/react-native/issues/25181#issuecomment-506690818
> I think the easiest solution would be to unbind the shortcut automatically when the recording control gets focused? Probably, yeah! > (By the way, did you know that you...
No, it's not React.js only. There's no React-specific logic in the core, but you'll probably need some glue code similar to our withObservables. Look at this thread: https://github.com/Nozbe/WatermelonDB/issues/765
> Now the problem is with the declaration of the fields: decorators are creating problems for the bundler (Rollup). > Is there any way to avoid them for now, @radex?...
no, at first glance, your code should work fine cross-platform 🎉
@KennanChan It would be preferable for FMDB in 🍉 to be a CocoaPods dependency. This way, 🍉 and you could reuse the same source for FMDB. I highly encourage you...