'props' is not defined no-undef hook code example Example: 'useState' is not defined no-undef import React, { useState } from "react";