Possible bug? Pass Props to a Stateless Functional Component

Tell us what’s happening:
I’m trying to solve this task, but FCC just crash after I input my answer. I think this exercise might have a bug of an infinite loop running on the background. Anyone had the same issue?

Your code so far



const CurrentDate = (props) => {
  return (
    <div>
      { /* change code below this line */ }
      <p>The current date is: {props.date}</p>
      { /* change code above this line */ }
    </div>
  );
};

class Calendar extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div>
        <h3>What date is it?</h3>
        { /* change code below this line */ }
        <CurrentDate />
        { /* change code above this line */ }
      </div>
    );
  }
};

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0.

Link to the challenge:

Where is the date coming from?

Where is the date coming from?

+1 to this. Think about how the data flows through your app.

Thank your for the tips, I solved it, but I believe this task might have a bug. It crashed my browser several times before the approval.