Click in order · JavaScript and React course · Module 8: Advanced React Patterns
forwardRef in React
Arrange the React.forwardRef syntax:
Items to click
- =>
- (props, ref)
- <input ref={ref} {...props} />
- );
- const Input =
- React.forwardRef(
You can check the correct answer by solving this task in the CodeWorlds game.