Marc Rousavy

Results 1289 comments of Marc Rousavy

Actually, shouldn't this `ReferenceError` be propagated upwards through `runOnJS` as a Promise rejection? Maybe there's also something going wrong here, I remember @hannojg noticing that a `.catch(..)` call on our...

I wonder what the babel plugin compiles here.

> I wanted to ask what is the reason you don't recommend to use it as a standalone dependency? I guess because usually something that involves parallelization or heavy computing...

Yea well maybe in this case it makes sense. 👍

Try react-native-worklets-core - if it works for you and is more performant, then that's great :)

Is this because of recursion? Does it work if you refactor your code to use simple for loops instead of recursively calling `fibonacci`?

> I don't think this library is ment or at a point for public usage to easily run stuff on a seperate worker. It is - but there is not...

I think this is because you're trying to recursively call fibonacci. Recursion is not yet implemented, so use a normal for loop instead.

the resulting values are Proxies. Arrays and Objects are Proxied as native HostObjects, so they can cheaply be shared by reference, without copying them. Methods such as `map`, accessing index,...