J3FF THE B4BY SHARK
Jens   Ukraine
 
 
Killed you on my Macbook
Sedang Online
MeAimLeg 24 Apr 2023 @ 7:57am 
Enzu <3
Leolulu 19 Apr 2022 @ 4:36pm 
React components implement a render() method that takes input data and returns what to display. This example uses an XML-like syntax called JSX. Input data that is passed into the component can be accessed by render() via this.props.

JSX is optional and not required to use React. Try the Babel REPL to see the raw JavaScript code produced by the JSX compilation step.
Leolulu 19 Apr 2022 @ 4:36pm 
class MarkdownEditor extends React.Component {
constructor(props) {
super(props);
this.md = new Remarkable();
this.handleChange = this.handleChange.bind(this);
this.state = { value: 'Hello, **world**!' };
}

handleChange(e) {
this.setState({ value: e.target.value });
}

getRawMarkup() {
return { __html: this.md.render(this.state.value) };
}
Leolulu 19 Apr 2022 @ 4:35pm 
class Timer extends React.Component {
constructor(props) {
super(props);
this.state = { seconds: 0 };
}

tick() {
this.setState(state => ({
seconds: state.seconds + 1
}));
}

componentDidMount() {
this.interval = setInterval(() => this.tick(), 1000);
}
Gydegufferen 24 Jan 2022 @ 2:40pm 
Nice guy, easy to talk with, BIG +rep
Leolulu 5 Nov 2021 @ 1:13am 
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/svg.css">
<link rel="stylesheet" href="css/img.css">