I'm getting TypeError: Cannot set property 'props' of undefined while trying to use props inside functional component in React?

前端 未结 0 1066
感情败类
感情败类 2021-01-01 07:01

here\'s the App component:

import React, {Component} from \'react\';
import Title from \'./components/Title\';

class App extends Component() {
  render(){
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题