Can useRef be used on Checkout UI components?

Hi,

I am new to Checkout UI extensions and I’ve been trying to create a custom small carousel using Checkout UI extension components.

Is there any way to target components? I tried useRef but it seems that it doesn’t work.

Thank you!

1 Like