Knowledge check

Completed

Choose the best response for each question.

1.

Which function should you use to register an event listener for the Effect Hook?

2.

In React, which function should you use to register an object as stateful?

3.

In programming, what does immutable mean?