refactor this code to use function components: import React, { Component } from 'react';
import PropTypes from 'prop-types';

class BadComponent extends Component {
  constructor(props) {
    super(props);
    this.state = {
      count: 0,
    };
  }

  incrementCount() {
    this.setState({
      count: this.state.count + 1,
    });
  }

  render() {
    return (
      

        
{this.props.title}

        

Count: {this.state.count}

        Increment Count
        {this.props.children}
      

    );
  }
}

BadComponent.propTypes = {
  title: PropTypes.string.isRequired,
  children: PropTypes.element,
};

export default BadComponent; Add stress words which are capitalized. Limit those stress words for less than 13 times.
user