React: Lifecycle Methods

I need help it is not passing my code i think its a bug in the system.

componentWillRecieveProps(nextProps) {
    console.log(this.Props, nextProps)
  }
  componentDidUpdate() {
    console.log("Component has updated")
  }

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

which challenge is this ? can you post a link to the specific challenge

Typo. componentWillReceiveProps

Here is the link: React: Manage Updates with Lifecycle Methods

If you correct the spelling as @jenovs pointed out above plus adjust for this.props being case sensitive it should pass, just did for me, FYI componentWillReceiveProps will be deprecated in V17, so this lesson may be updated in the near future.

so instead of using this.props use this.setState?

never mind i got it working thanks for the help.