Get initial implementation for react working
This commit is contained in:
parent
37715762cd
commit
3f2a4b5762
8 changed files with 344 additions and 422 deletions
12
resources/scripts/components/App.tsx
Normal file
12
resources/scripts/components/App.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import * as React from 'react';
|
||||
import { hot } from 'react-hot-loader/root';
|
||||
|
||||
class App extends React.PureComponent {
|
||||
render () {
|
||||
return (
|
||||
<h1>Hello</h1>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default hot(App);
|
Loading…
Add table
Add a link
Reference in a new issue