Skip to content

Commit ec49ca8

Browse files
authored
Update Introduction.md
1 parent c5ed91f commit ec49ca8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ReactJs/Introduction.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ JSX allows you to mix HTML and JavaScript.
1212

1313
Simple example:
1414
```
15-
class App extends React.component { //ES6 Class Component Declaration
16-
const value = 'Hello World!'; //A variable declared const cannot be re-declared or re-assigned..
17-
//It cannot get mutated(changed,modified). use let for reassignment.
18-
render() { //lifecycle method to describe what needs to appear on the UI
15+
class App extends React.component { //ES6 Class Component Declaration
16+
const value = 'Hello World!'; //A variable declared const cannot be re-declared or re-assigned..
17+
//It cannot get mutated(changed,modified). use let for reassignment.
18+
render() { //lifecycle method to describe what needs to appear on the UI
1919
return(
2020
<div className = "App">
21-
<h2>{value}</h2> //JSX is used for displaying value. Its curly brackets.
21+
<h2>{value}</h2> //JSX is used for displaying value. Its curly brackets.
2222
</div>
2323
);
2424
}

0 commit comments

Comments
 (0)