Jun 26, 2020 in React JS
Q: Uncaught TypeError: Cannot read property 'Component' of undefined in React js

1 Answer

0 votes
Jun 26, 2020

in Place of

import React,{Component} from 'react';

use following import syntax

import * as React from 'react';

Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
May 20, 2020 in React JS
...