The useState hook is the most basic and useful React hook. Like other built-in hooks, this hook must be imported from react to be used in our application. To initialize the state, we must declare both the state and its updater function and pass an initial value.