# 🦉 References 🦉 The `useRef` hook is useful when we need a way to interact with some inside part of a component, rendered by Owl. It can work either on a DOM node, or on a component, targeted by the `t-ref` directive. See the [hooks section](hooks.md#useref) for more detail. As a short example, here is how we could set the focus on a given input: ```xml