Post 1

Hello!!

import React from 'react'; import { uniquePropHOC, testje } from './lib/unique-prop-hoc'; import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; // this comment is here to demonstrate an extremely long line length, well beyond what you should probably allow in your own code, though sometimes you'll be highlighting code you can't refactor, which is unfortunate but should be handled gracefully class Expire extends React.Component { constructor(props) { super(props); this.state = { component: props.children }; } componentDidMount() { setTimeout(() => { this.setState({ component: null, }); }, this.props.time || this.props.seconds * 1000); } render() { return this.state.component; } } export default uniquePropHOC(['time', 'seconds'])(Expire);
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="preload" href="/_next/static/media/155cae559bbd1a77-s.p.woff2" as="font" crossorigin="" type="font/woff2" /> </head> <body> <div>&amp; &#x2665; &#160; &#x152;</div> <p id="greeting">Hello World!</p> <video width="1280" height="720" allowfullscreen controls> <source src="hello_world.mp4" type="video/mp4" /> </video> </body> </html>
.test { property: value; property1: 'value'; }