Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 10, 2020 09:33
import React, { Component } from 'react';
import { render } from 'react-dom';
import Basic from './Basic';
import './style.css';
class App extends Component {
constructor() {
super();
this.state = {
name: 'React'
};
}
render() {
return (
<div>
<Basic />
</div>
);
}
}
render(<App />, document.getElementById('root'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment