Open rtaylorzfin opened 2 years ago
@tmushayahama , you mentioned to tag you in an issue if I had any questions. What do you think about this feature request?
@rtaylorzfin I think we didn't want to tie it to a specific framework. That was the reason to move away from the React Version of it. It is also being used by non React clients.
@tmushayahama , okay, thanks for looking at it.
Were you able to run it okay? Are the events working fine?
Thanks for following up. Yes, it seems to be working. I'll let you know if I run into anything.
This is a feature request for upstream wc-ribbon-strips. It would be nice to be able to import the react components directly instead of needing to use the WebComponents. For example, in order to add a cellClick handler in the current system, we need to do something like this:
If we could import the react component directly, we should be able to simplify the above with something like this:
It appears that stenciljs allows exporting as a react component. If I have some more time, I may be able to look into how to do this and send in a PR.