Aleksandras Šukelovič
Aleksandras Šukelovič
@mrousavy I think it's okey to manually cleanup resources from react's `useEffect` hook in Camera component, but it is also not fully functional workaround. The problem occurs when users leaves...
Figured out that the problem occurs when providing `ref` in second argument. In react 19 you can access `ref` from props (see https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop). The following code works without TS error:...
The problem is still relevant, because in runtime `forwardRef` is being called from `styleable` function depending on `isForwardedRefAlready` https://github.com/tamagui/tamagui/blob/376ea3332396d030a3b1f5625a5a1e0fb15b30af/code/core/web/src/createComponent.tsx#L1238 However, when passing function component, the `Component.render?.length` value is undefined -...