nxtedition/create-caspar-graphics

Using with Hooks instead of Classes

brucedk opened this issue · 4 comments

sorry if I'm asking anything stupid, but can we use Hooks api to create the graphics? I'm trying to do that, but it seems that the props from update function aren't coming

Which version of caspar-graphics are you running? If you use the v2 branch (they're published on npm with the next tag) you can use hooks.

I'm using v2 branch (1.0.0-next.9.2), but when I try to call the props, it aways return undefined to me

Could you share an example where it's not working?

@tobiasandersen sorry to not give more info, I just see the examples that you put inside this project and notice the mistakes that I had made.
Thanks again