Skip to content

Commit 1333d25

Browse files
committed
Merge branch 'master' of github.com:ModusCreateOrg/extjs-reactjs-examples
2 parents 2bc22df + 654e751 commit 1333d25

File tree

201 files changed

+103126
-11928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+103126
-11928
lines changed

03-defining-classes/a-functional-basic/package-lock.json

Lines changed: 10196 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

03-defining-classes/a-functional-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"test": "react-scripts test --env=jsdom",
1414
"eject": "react-scripts eject"
1515
}
16-
}
16+
}
Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
import React, { Component } from 'react';
2-
import './App.css';
3-
1+
import React from 'react';
42
import MyComponent from './MyComponent'
3+
import './App.css';
54

6-
class App extends Component {
7-
render() {
8-
return (
9-
<div className="App">
10-
<MyComponent/>
11-
</div>
12-
);
13-
}
14-
}
15-
16-
export default App;
5+
export default () => <MyComponent />;

0 commit comments

Comments
 (0)