Forward Ref Input Focus

ReactJS Hard 7 views
Back to Questions

Problem Description

Build an input component that exposes focus() using forwardRef.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use forwardRef and pass the ref to the input element.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next