React-ify one of the examples


#1

I’ve discovered how far we can push React’s JSX by testing what works while creating this example.

This now allows the code section to be used also within our team and makes the code copy-pasteable to our project’s source, which would be an obvious deal breaker if not possible.

I think it would be of great benefit to many modern developers (who would never bother writing the transpiled mess) if you could add to examples an article on how an actual React component can be created and used by writing JSX in the code section.