Open cosmicdreams opened 5 years ago
+1
Was also thinking about the possibility of abstracting some of this into a React component that could be an NPM package. Could be useful for people to make use of the captioning functionality more generically. If this was a web component, then maybe it could be used with various frameworks rather than just be a react thing (although I seem to recall that web components in React can be a bit of a can of worms - maybe that has gotten better.)
@backlineint I've been able to figure out the WC in React thing before. It's not so bad.
@cosmicdreams good to know. From my perspective, this would be a fun opportunity to learn.
Let me wrap up my Karaoke Night app and I'll share with ya
I'm seeing that this entire thing is written in JS / CSS and HTML. Therefore this may be a good candidate for bundling into a web component so that it can be reused in other applications easier, without having to worry about how it's implementation may be impacted by external contexts.