Answers for "how to access match object in class component"

0

how to access match object in class component

class Generic extends React.Component {
constructor(props) {
    super(props);
}

render() {
    return (
        <div className="wrapper">
            <div className="section">
                <div className="container">
                    <h3>Menu : {this.props.params.id}</h3>
                </div>
            </div>
        </div>
    );
}
}
Posted by: Guest on September-25-2020

Code answers related to "how to access match object in class component"

Code answers related to "Javascript"

Browse Popular Code Answers by Language