Neil
Neil
Same issue. I know `canvas` is the common way to do that, but it will be better if react-webcam can support this.
> Hello @Hunter-Gu Can you update us on the progress of the issue? Hello @yahia-berashish I have updated the example by using VanX `reactive`, it works really good and simple....
Sorry for late response. The codesandbox link: https://codesandbox.io/p/sandbox/vanjs-context-provider-poc-base-on-webcomponent-c4qp5h I haven't fix it. Because VanJS will batch all updates to next render task, so user will still see the first painting...
Can this approach support to consume context in conditional rendering? I try to consume context in conditional rendering, it can't render as expected. [VanJS Context API with conditional rendering](https://stackblitz.com/edit/typescript-a2nwh2?file=index.ts) You...
Actually, this is why I want to find a tree structure to represent the component tree. I find there is no 'real' component in VanJS internally, the VanJS component is...
Totally agree with you. I like VanJS because it is so tiny and it can run in browser directly with well-designed component-oriented development. The key point of Context-API is we...
Now, I can only know DOM tree is not a good way. - it will call `getProvider` when render functional component, but the DOM hasn't rendered, so `getProvider` will return...
Hi @yahia-berashish, I create a new version, [sandbox](https://codesandbox.io/p/sandbox/vanjs-context-provider-poc-base-on-component-tree-forked-pv89tl) , there are still issues of removing unmounted component node. The key steps: - `createComponent`: create a component node, pass `node` and...
My view is completely the same as yours. A separated library can keep van-core tiny, and give VanJS the ability to support most modern features. Let's talk about this. Thank...
@yahia-berashish, I apologize for being busy with my personal matters recently and not responding in a timely manner. If we don't consider implementation details for now, our ideas are completely...