fix(curriculum): format challenge markdown as per linting rules (#36326)

* fix: Format challenge markdown according to linting rules

* fix: Put spaces after section tags
This commit is contained in:
Oliver Eyton-Williams
2019-07-18 17:32:12 +02:00
committed by mrugesh
parent c387873640
commit 7d4dc382b4
63 changed files with 257 additions and 156 deletions

View File

@@ -6,7 +6,9 @@ isRequired: false
---
## Description
<section id='description'>
React components have several special methods that provide opportunities to perform actions at specific points in the lifecycle of a component. These are called lifecycle methods, or lifecycle hooks, and allow you to catch components at certain points in time. This can be before they are rendered, before they update, before they receive props, before they unmount, and so on. Here is a list of some of the main lifecycle methods:
<code>componentWillMount()</code>
<code>componentDidMount()</code>
@@ -14,12 +16,13 @@ React components have several special methods that provide opportunities to perf
<code>componentDidUpdate()</code>
<code>componentWillUnmount()</code>
The next several lessons will cover some of the basic use cases for these lifecycle methods.
##### Note: The ``` componentWillMount ``` Lifecycle method will be deprecated in a future version of 16.X and removed in version 17. [(Source)](https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html)
<strong>Note:</strong> The `componentWillMount` Lifecycle method will be deprecated in a future version of 16.X and removed in version 17. [(Source)](https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html)
</section>
## Instructions
<section id='instructions'>
The <code>componentWillMount()</code> method is called before the <code>render()</code> method when a component is being mounted to the DOM. Log something to the console within <code>componentWillMount()</code> - you may want to have your browser console open to see the output.
</section>