'routeChange' is not defined no-undef code example Example: 'Component' is not defined no-undef import React, { Component } from 'react';