Created
February 21, 2021 15:07
-
-
Save yakkomajuri/a846d27768358583651864de7aa8b6d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { hot } from 'react-hot-loader/root' | |
import { MyJSComponent } from './components/MyJSComponent' | |
import { Counter } from './components/Counter' | |
export const App = hot(_App) | |
export function _App(): JSX.Element | null { | |
return ( | |
<div> | |
<h1>Hello world!</h1> | |
<MyJSComponent /> | |
<Counter /> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment